Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_MassFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_MassFraction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008157/0.0008158, allocations: 99.28 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 182.2 kB / 16.92 MB, free: 6.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.709/0.709, allocations: 115.5 MB / 407.6 MB, free: 2.703 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003352/0.0003352, allocations: 13.47 kB / 496 MB, free: 6.246 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1555, allocations: 77.53 MB / 0.56 GB, free: 8.922 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.MassFraction): time 0.5393/0.6948, allocations: 182.1 MB / 0.7379 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008672/0.7035, allocations: 4.56 MB / 0.7423 GB, free: 12 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00141/0.705, allocations: 27.81 kB / 0.7424 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001461/0.7065, allocations: 350.1 kB / 0.7427 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004589/0.7111, allocations: 1.273 MB / 0.7439 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0024/0.7135, allocations: 0.6713 MB / 0.7446 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004159/0.7177, allocations: 2.756 MB / 0.7473 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001255/0.719, allocations: 0.5318 MB / 0.7478 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003938/0.7229, allocations: 0.9419 MB / 0.7487 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001714/0.7247, allocations: 0.5855 MB / 0.7493 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002057/0.7249, allocations: 28 kB / 0.7493 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003455/0.7283, allocations: 1.551 MB / 0.7508 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005442/0.7289, allocations: 251.2 kB / 0.7511 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0009496/0.7299, allocations: 395.8 kB / 0.7515 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003297/0.7332, allocations: 1.495 MB / 0.7529 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.7332, allocations: 0 / 0.7529 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.214e-06/0.7332, allocations: 0 / 0.7529 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.784e-05/0.7332, allocations: 0 / 0.7529 GB, free: 1.141 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.002045/0.7353, allocations: 0.9563 MB / 0.7538 GB, free: 140 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.7354, allocations: 8.031 kB / 0.7539 GB, free: 132 kB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002168/0.7356, allocations: 94.52 kB / 0.7539 GB, free: 28 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001574/0.7372, allocations: 211.1 kB / 0.7541 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00118/0.7384, allocations: 0.5792 MB / 0.7547 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.687e-05/0.7384, allocations: 41.31 kB / 0.7548 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/0.7385, allocations: 52 kB / 0.7548 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001223/0.7398, allocations: 0.6167 MB / 0.7554 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.688e-05/0.7398, allocations: 3.938 kB / 0.7554 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.753e-05/0.7399, allocations: 23.98 kB / 0.7554 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.309e-05/0.7399, allocations: 21.31 kB / 0.7555 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009188/0.7408, allocations: 0.4931 MB / 0.7559 GB, free: 13.93 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003828/0.7447, allocations: 2.396 MB / 0.7583 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006702/0.7454, allocations: 358.7 kB / 0.7586 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003377/0.7457, allocations: 217.5 kB / 0.7588 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006457/0.7464, allocations: 315.2 kB / 0.7591 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.969e-05/0.7464, allocations: 46.55 kB / 0.7592 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=36): time 2.815e-06/0.7464, allocations: 0 / 0.7592 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=36): time 0.001319/0.7478, allocations: 0.5449 MB / 0.7597 GB, free: 9.785 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.691e-05/0.7478, allocations: 55.41 kB / 0.7598 GB, free: 9.719 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007079/0.7485, allocations: 0.5028 MB / 0.7602 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.985e-05/0.7486, allocations: 29.7 kB / 0.7603 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002869/0.7489, allocations: 323.8 kB / 0.7606 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001591/0.7491, allocations: 134.1 kB / 0.7607 GB, free: 8.715 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.208e-05/0.7492, allocations: 37.7 kB / 0.7607 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.7493, allocations: 362.8 kB / 0.7611 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002514/0.7496, allocations: 144.8 kB / 0.7612 GB, free: 8.164 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003538/0.75, allocations: 267.7 kB / 0.7615 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000595/0.7506, allocations: 402.9 kB / 0.7619 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.7506, allocations: 3.938 kB / 0.7619 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009015/0.7515, allocations: 485.5 kB / 0.7623 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001252/0.7516, allocations: 156.7 kB / 0.7625 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.7516, allocations: 4 kB / 0.7625 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.7517, allocations: 7.938 kB / 0.7625 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006103/0.7523, allocations: 99.83 kB / 0.7626 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004308/0.7527, allocations: 0.6054 MB / 0.7632 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000718/0.7535, allocations: 79.58 kB / 0.7633 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.506e-05/0.7535, allocations: 15.98 kB / 0.7633 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.7535, allocations: 4 kB / 0.7633 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006607/0.7542, allocations: 403.9 kB / 0.7637 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.7542, allocations: 8 kB / 0.7637 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.858e-06/0.7542, allocations: 8.281 kB / 0.7637 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003577/0.7546, allocations: 95.77 kB / 0.7638 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.7546, allocations: 4 kB / 0.7638 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000648/0.7553, allocations: 67.64 kB / 0.7638 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.806e-05/0.7553, allocations: 16 kB / 0.7639 GB, free: 5.348 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004111/0.7557, allocations: 305 kB / 0.7641 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001382/0.7559, allocations: 55.34 kB / 0.7642 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008021/0.7567, allocations: 461.5 kB / 0.7646 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.7567, allocations: 4 kB / 0.7646 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.7567, allocations: 0 / 0.7646 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007211/0.7574, allocations: 0.6495 MB / 0.7653 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002032/0.7595, allocations: 1.215 MB / 0.7665 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/0.7595, allocations: 4 kB / 0.7665 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004748/0.76, allocations: 91.88 kB / 0.7666 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-06/0.76, allocations: 4 kB / 0.7666 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.482e-05/0.76, allocations: 12 kB / 0.7666 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003778/0.7604, allocations: 0.5979 MB / 0.7672 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.7604, allocations: 0 / 0.7672 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009622/0.7614, allocations: 0.7205 MB / 0.7679 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003105/0.7617, allocations: 172.3 kB / 0.768 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.161e-05/0.7618, allocations: 12 kB / 0.768 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005069/0.7623, allocations: 43.81 kB / 0.7681 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.895e-05/0.7624, allocations: 27.91 kB / 0.7681 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3e-05/0.7624, allocations: 19.98 kB / 0.7681 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004745/0.7629, allocations: 358.8 kB / 0.7685 GB, free: 380 kB / 0.5762 GB Notification: Performance of sort global known variables: time 2e-07/0.7629, allocations: 0 / 0.7685 GB, free: 380 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001119/0.7641, allocations: 343.2 kB / 0.7688 GB, free: 36 kB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,senMasFra1.X) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001833/0.7659, allocations: 1.35 MB / 0.7701 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001456/0.7674, allocations: 0.5977 MB / 0.7707 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.942e-06/0.7674, allocations: 1.125 kB / 0.7707 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004138/0.7678, allocations: 188.7 kB / 0.7709 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002411/0.7702, allocations: 345 kB / 0.7712 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008061/0.7783, allocations: 5.272 MB / 0.7763 GB, free: 8.09 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000612/0.779, allocations: 0.9375 MB / 0.7773 GB, free: 7.125 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007849/0.7798, allocations: 204.9 kB / 0.7775 GB, free: 6.922 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003543/0.7801, allocations: 219.4 kB / 0.7777 GB, free: 6.707 MB / 0.5919 GB Notification: Performance of SimCode: time 8.62e-07/0.7801, allocations: 0 / 0.7777 GB, free: 6.707 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03444/0.8146, allocations: 16.27 MB / 0.7936 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002536/0.8149, allocations: 259 kB / 0.7938 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.173/2.987, allocations: 0 / 0.7938 GB, free: 6.449 MB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_MassFraction_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_MassFraction.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)