Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_MassFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_MassFraction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7406/0.7406, allocations: 128.7 MB / 143.7 MB, free: 2.301 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001085/0.001085, allocations: 193.6 kB / 173.8 MB, free: 6.113 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.68/1.68, allocations: 205.4 MB / 409 MB, free: 10.5 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001001/0.001001, allocations: 97.14 kB / 486.6 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003345/0.0003345, allocations: 9.688 kB / 0.5604 GB, free: 97.49 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.167, allocations: 76.77 MB / 0.6354 GB, free: 30.46 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.153/5.32, allocations: 2.16 GB / 2.796 GB, free: 215.8 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003925/5.32, allocations: 95.2 kB / 2.796 GB, free: 215.7 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.836/7.156, allocations: 479.8 MB / 3.264 GB, free: 118.6 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.913e-06/7.156, allocations: 3.719 kB / 3.264 GB, free: 118.6 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001138/7.156, allocations: 19.78 kB / 3.264 GB, free: 118.6 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.003475/7.16, allocations: 1.145 MB / 3.266 GB, free: 118.1 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.796e-05/7.16, allocations: 12.5 kB / 3.266 GB, free: 118.1 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003508/7.16, allocations: 97.28 kB / 3.266 GB, free: 118.1 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001694/7.162, allocations: 202.9 kB / 3.266 GB, free: 118 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00207/7.164, allocations: 0.6279 MB / 3.266 GB, free: 117.8 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.756e-05/7.164, allocations: 47.56 kB / 3.266 GB, free: 117.8 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000176/7.164, allocations: 55.16 kB / 3.267 GB, free: 117.8 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00166/7.166, allocations: 0.6417 MB / 3.267 GB, free: 117.7 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.938e-05/7.166, allocations: 3.656 kB / 3.267 GB, free: 117.7 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-05/7.166, allocations: 33.42 kB / 3.267 GB, free: 117.7 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.534e-05/7.166, allocations: 20.88 kB / 3.267 GB, free: 117.7 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001329/7.167, allocations: 0.5304 MB / 3.268 GB, free: 117.7 MB / 0.6511 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.003094/7.171, allocations: 2.408 MB / 3.27 GB, free: 116.4 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008198/7.171, allocations: 416.2 kB / 3.27 GB, free: 116.4 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004752/7.172, allocations: 309.8 kB / 3.271 GB, free: 116.1 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/7.172, allocations: 44.69 kB / 3.271 GB, free: 116.1 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=38): time 2.345e-06/7.172, allocations: 0 / 3.271 GB, free: 116.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=38): time 0.001621/7.174, allocations: 0.6483 MB / 3.271 GB, free: 116 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/7.174, allocations: 54.66 kB / 3.272 GB, free: 116 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004523/7.174, allocations: 437.5 kB / 3.272 GB, free: 115.9 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.556e-05/7.174, allocations: 39.67 kB / 3.272 GB, free: 115.8 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001861/7.174, allocations: 317.7 kB / 3.272 GB, free: 115.7 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001083/7.174, allocations: 139.3 kB / 3.272 GB, free: 115.6 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.823e-05/7.175, allocations: 10.88 kB / 3.272 GB, free: 115.6 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001151/7.175, allocations: 367.4 kB / 3.273 GB, free: 115.3 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003494/7.175, allocations: 182.8 kB / 3.273 GB, free: 115.3 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004156/7.175, allocations: 301.7 kB / 3.273 GB, free: 115.2 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004316/7.176, allocations: 290.3 kB / 3.273 GB, free: 115.1 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/7.176, allocations: 0 / 3.273 GB, free: 115.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009898/7.177, allocations: 0.6206 MB / 3.274 GB, free: 115 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002232/7.177, allocations: 0.8485 MB / 3.275 GB, free: 114.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/7.177, allocations: 0 / 3.275 GB, free: 114.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.343e-05/7.177, allocations: 11.2 kB / 3.275 GB, free: 114.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/7.178, allocations: 191.6 kB / 3.275 GB, free: 114.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007132/7.179, allocations: 0.6579 MB / 3.276 GB, free: 113.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006749/7.18, allocations: 80.56 kB / 3.276 GB, free: 113.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.889e-05/7.18, allocations: 25.44 kB / 3.276 GB, free: 113.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.434e-06/7.18, allocations: 3.844 kB / 3.276 GB, free: 113.5 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007896/7.181, allocations: 0.5442 MB / 3.276 GB, free: 113.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/7.181, allocations: 3.875 kB / 3.276 GB, free: 113.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.31e-06/7.181, allocations: 3.938 kB / 3.276 GB, free: 113.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003799/7.181, allocations: 95.8 kB / 3.277 GB, free: 113.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/7.181, allocations: 4.422 kB / 3.277 GB, free: 113.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005032/7.182, allocations: 73.92 kB / 3.277 GB, free: 113.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.337e-05/7.182, allocations: 23.12 kB / 3.277 GB, free: 113.4 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (senMasFra2.i_x,senMasFra1.i_x) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003431/7.182, allocations: 316.6 kB / 3.277 GB, free: 113.2 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.141e-05/7.182, allocations: 60.12 kB / 3.277 GB, free: 113.2 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009125/7.183, allocations: 492.6 kB / 3.277 GB, free: 113.2 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/7.183, allocations: 4.594 kB / 3.277 GB, free: 113.2 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/7.183, allocations: 0 / 3.277 GB, free: 113.2 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000773/7.184, allocations: 0.6991 MB / 3.278 GB, free: 112.7 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002348/7.186, allocations: 1.277 MB / 3.279 GB, free: 112.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/7.186, allocations: 3 kB / 3.279 GB, free: 112.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001264/7.187, allocations: 194.4 kB / 3.28 GB, free: 112.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.165e-06/7.187, allocations: 2.906 kB / 3.28 GB, free: 112.3 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.756e-05/7.188, allocations: 13.33 kB / 3.28 GB, free: 112.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002284/7.19, allocations: 1.516 MB / 3.281 GB, free: 111 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/7.19, allocations: 2 kB / 3.281 GB, free: 111 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001435/7.191, allocations: 0.8728 MB / 3.282 GB, free: 110.7 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002945/7.192, allocations: 175.5 kB / 3.282 GB, free: 110.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.346e-05/7.192, allocations: 18.39 kB / 3.282 GB, free: 110.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005532/7.192, allocations: 62.58 kB / 3.282 GB, free: 110.6 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.545e-05/7.192, allocations: 26.44 kB / 3.282 GB, free: 110.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.071e-05/7.192, allocations: 16.06 kB / 3.282 GB, free: 110.6 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005171/7.193, allocations: 354.2 kB / 3.283 GB, free: 110.5 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.91e-07/7.193, allocations: 1.969 kB / 3.283 GB, free: 110.5 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001843/7.195, allocations: 492.9 kB / 3.283 GB, free: 110.5 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],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 (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004398/7.199, allocations: 3.118 MB / 3.286 GB, free: 109 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002638/7.202, allocations: 0.9731 MB / 3.287 GB, free: 108.7 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/7.202, allocations: 1.094 kB / 3.287 GB, free: 108.7 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001191/7.203, allocations: 298.3 kB / 3.287 GB, free: 108.7 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001898/7.205, allocations: 357.8 kB / 3.288 GB, free: 108.7 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004303/7.209, allocations: 3.365 MB / 3.291 GB, free: 106.5 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005161/7.21, allocations: 0.9569 MB / 3.292 GB, free: 105.8 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000834/7.211, allocations: 201.3 kB / 3.292 GB, free: 105.8 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003322/7.211, allocations: 215.1 kB / 3.292 GB, free: 105.8 MB / 0.6511 GB Notification: Performance of SimCode: time 1.533e-06/7.211, allocations: 0 / 3.292 GB, free: 105.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0782/7.289, allocations: 39.04 MB / 3.33 GB, free: 104.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002129/7.289, allocations: 243.2 kB / 3.331 GB, free: 104.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.559/10.85, allocations: 0 / 3.331 GB, free: 104.5 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_MassFraction_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_MassFraction.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)