Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.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.EntropyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate",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.001099/0.001099, allocations: 100.1 kB / 15.88 MB, free: 12 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.001212/0.001212, allocations: 205 kB / 16.79 MB, free: 6.84 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.344/1.344, allocations: 222.9 MB / 240.5 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7118/0.7118, allocations: 115.3 MB / 405.9 MB, free: 2.789 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 64.48 kB / 493 MB, free: 6.738 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1532, allocations: 76.2 MB / 0.5559 GB, free: 10.75 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5001/0.6533, allocations: 167.2 MB / 0.7191 GB, free: 15.75 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00837/0.6617, allocations: 7.19 MB / 0.7261 GB, free: 8.547 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000433/0.6622, allocations: 15.88 kB / 0.7262 GB, free: 8.531 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005174/0.6628, allocations: 135.1 kB / 0.7263 GB, free: 8.398 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002666/0.6655, allocations: 1.187 MB / 0.7274 GB, free: 7.207 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001412/0.6669, allocations: 0.5797 MB / 0.728 GB, free: 6.633 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0009262/0.6678, allocations: 1.053 MB / 0.729 GB, free: 5.578 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003557/0.6682, allocations: 246 kB / 0.7293 GB, free: 5.336 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009874/0.6692, allocations: 0.5293 MB / 0.7298 GB, free: 4.805 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007247/0.6699, allocations: 426.5 kB / 0.7302 GB, free: 4.387 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.402e-05/0.67, allocations: 16 kB / 0.7302 GB, free: 4.371 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00217/0.6721, allocations: 1.477 MB / 0.7316 GB, free: 2.891 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.6723, allocations: 103.7 kB / 0.7317 GB, free: 2.789 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001702/0.6725, allocations: 167.1 kB / 0.7319 GB, free: 2.625 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001283/0.6737, allocations: 0.9855 MB / 0.7329 GB, free: 1.637 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.6738, allocations: 3.938 kB / 0.7329 GB, free: 1.633 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.122e-06/0.6738, allocations: 0 / 0.7329 GB, free: 1.633 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.6738, allocations: 0 / 0.7329 GB, free: 1.633 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0009458/0.6747, allocations: 0.6981 MB / 0.7336 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.6748, allocations: 8.031 kB / 0.7336 GB, free: 0.8789 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.755e-05/0.6749, allocations: 62.55 kB / 0.7336 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001058/0.6759, allocations: 123.9 kB / 0.7337 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004075/0.6763, allocations: 325.2 kB / 0.7341 GB, free: 336 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.244e-05/0.6764, allocations: 58.19 kB / 0.7341 GB, free: 272 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.299e-05/0.6765, allocations: 27.98 kB / 0.7341 GB, free: 244 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006284/0.6771, allocations: 366.2 kB / 0.7345 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.6771, allocations: 0 / 0.7345 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.464e-05/0.6772, allocations: 15.94 kB / 0.7345 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.6772, allocations: 8 kB / 0.7345 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005256/0.6777, allocations: 281.9 kB / 0.7348 GB, free: 15.57 MB / 0.5606 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.001747/0.6795, allocations: 1.496 MB / 0.7362 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003902/0.6799, allocations: 186.5 kB / 0.7364 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002187/0.6801, allocations: 116.8 kB / 0.7365 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001001/0.6811, allocations: 0.5053 MB / 0.737 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.6811, allocations: 30.56 kB / 0.737 GB, free: 13 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 5.621e-06/0.6812, allocations: 4 kB / 0.737 GB, free: 13 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0009164/0.6821, allocations: 359 kB / 0.7374 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.6821, allocations: 55.41 kB / 0.7374 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003115/0.6824, allocations: 312.5 kB / 0.7377 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.052e-05/0.6825, allocations: 29.7 kB / 0.7378 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.6826, allocations: 188 kB / 0.738 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.947e-05/0.6827, allocations: 59.2 kB / 0.738 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.049e-05/0.6828, allocations: 45.64 kB / 0.7381 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.6829, allocations: 342.8 kB / 0.7384 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001947/0.6831, allocations: 79.94 kB / 0.7385 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002449/0.6833, allocations: 153.9 kB / 0.7386 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004167/0.6838, allocations: 233.8 kB / 0.7388 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.6838, allocations: 0 / 0.7388 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.00057/0.6844, allocations: 285 kB / 0.7391 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.6844, allocations: 6.031 kB / 0.7391 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.6844, allocations: 7.984 kB / 0.7391 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.6844, allocations: 4.188 kB / 0.7391 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000233/0.6847, allocations: 39.92 kB / 0.7392 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.6847, allocations: 4 kB / 0.7392 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000226/0.6849, allocations: 43.66 kB / 0.7392 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.495e-05/0.6849, allocations: 12 kB / 0.7392 GB, free: 10.68 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001471/0.6851, allocations: 145.8 kB / 0.7393 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.6852, allocations: 35.66 kB / 0.7394 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006861/0.6859, allocations: 315.6 kB / 0.7397 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.6859, allocations: 0 / 0.7397 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.6859, allocations: 0 / 0.7397 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.6859, allocations: 3.984 kB / 0.7397 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001219/0.6872, allocations: 0.8082 MB / 0.7405 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.6872, allocations: 7.953 kB / 0.7405 GB, free: 9.289 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001911/0.6874, allocations: 35.98 kB / 0.7405 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.6874, allocations: 4 kB / 0.7405 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.142e-05/0.6874, allocations: 11.94 kB / 0.7405 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.6874, allocations: 3.938 kB / 0.7405 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.6874, allocations: 4 kB / 0.7405 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006059/0.688, allocations: 403 kB / 0.7409 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001341/0.6882, allocations: 140.6 kB / 0.7411 GB, free: 8.645 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.673e-05/0.6882, allocations: 7.938 kB / 0.7411 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002596/0.6885, allocations: 27.97 kB / 0.7411 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.989e-05/0.6886, allocations: 11.98 kB / 0.7411 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.604e-05/0.6886, allocations: 12 kB / 0.7411 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000213/0.6888, allocations: 227 kB / 0.7413 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6888, allocations: 0 / 0.7413 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004939/0.6893, allocations: 127.8 kB / 0.7415 GB, free: 8.242 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001285/0.6906, allocations: 1.065 MB / 0.7425 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004935/0.6911, allocations: 215.7 kB / 0.7427 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.6911, allocations: 0 / 0.7427 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000223/0.6914, allocations: 115.8 kB / 0.7428 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000867/0.6922, allocations: 153 kB / 0.743 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003766/0.696, allocations: 3.14 MB / 0.746 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.6964, allocations: 0.7875 MB / 0.7468 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003095/0.6967, allocations: 88.62 kB / 0.7469 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001652/0.6969, allocations: 99.41 kB / 0.747 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of SimCode: time 2.61e-07/0.6969, allocations: 0 / 0.747 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02057/0.7174, allocations: 10.02 MB / 0.7568 GB, free: 8.566 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001753/0.7177, allocations: 239.5 kB / 0.757 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.995/2.713, allocations: 0 / 0.757 GB, free: 8.309 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)