Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_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.0009679/0.0009679, allocations: 99.16 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.092/1.092, allocations: 143.3 MB / 434.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003165/0.0003165, allocations: 15.98 kB / 0.5159 GB, free: 11.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1601, allocations: 83.41 MB / 0.5973 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate): time 0.4932/0.6533, allocations: 141.8 MB / 0.7359 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007935/0.6613, allocations: 5.279 MB / 0.741 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000593/0.662, allocations: 11.88 kB / 0.741 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008546/0.6628, allocations: 193.2 kB / 0.7412 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003538/0.6664, allocations: 0.7075 MB / 0.7419 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002289/0.6687, allocations: 0.4992 MB / 0.7424 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001048/0.6698, allocations: 457 kB / 0.7428 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004599/0.6702, allocations: 233.4 kB / 0.743 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00129/0.6715, allocations: 0.492 MB / 0.7435 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007545/0.6723, allocations: 337.7 kB / 0.7438 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.876e-05/0.6724, allocations: 20 kB / 0.7439 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00166/0.674, allocations: 0.5469 MB / 0.7444 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001186/0.6742, allocations: 96.19 kB / 0.7445 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.791e-05/0.6743, allocations: 90.17 kB / 0.7446 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000748/0.675, allocations: 472 kB / 0.745 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.675, allocations: 0 / 0.745 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.054e-06/0.675, allocations: 4 kB / 0.745 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.675, allocations: 0 / 0.745 GB, free: 4.16 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0009446/0.676, allocations: 0.6227 MB / 0.7456 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.676, allocations: 8.031 kB / 0.7456 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.57e-05/0.6761, allocations: 68.7 kB / 0.7457 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/0.6772, allocations: 136.7 kB / 0.7458 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004662/0.6776, allocations: 307.7 kB / 0.7461 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.815e-05/0.6777, allocations: 48.52 kB / 0.7462 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.612e-05/0.6778, allocations: 28 kB / 0.7462 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006706/0.6785, allocations: 367.1 kB / 0.7466 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.6785, allocations: 3.938 kB / 0.7466 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.742e-05/0.6785, allocations: 18.77 kB / 0.7466 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.6786, allocations: 12.5 kB / 0.7466 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000517/0.6791, allocations: 277 kB / 0.7469 GB, free: 2.395 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.001795/0.6809, allocations: 1.485 MB / 0.7483 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004845/0.6814, allocations: 162.8 kB / 0.7485 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004164/0.6818, allocations: 153.8 kB / 0.7486 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.6818, allocations: 30.56 kB / 0.7486 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.372e-06/0.6819, allocations: 3.938 kB / 0.7486 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0009387/0.6828, allocations: 384.5 kB / 0.749 GB, free: 300 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.6828, allocations: 55.41 kB / 0.7491 GB, free: 232 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005255/0.6834, allocations: 326.3 kB / 0.7494 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/0.6834, allocations: 29.7 kB / 0.7494 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.6836, allocations: 184.9 kB / 0.7496 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.105e-05/0.6836, allocations: 59.47 kB / 0.7496 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.343e-05/0.6836, allocations: 4 kB / 0.7496 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.6838, allocations: 341.4 kB / 0.75 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001981/0.684, allocations: 91.89 kB / 0.7501 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002377/0.6842, allocations: 170 kB / 0.7502 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002146/0.6844, allocations: 108.5 kB / 0.7503 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.6845, allocations: 0 / 0.7503 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005767/0.685, allocations: 313.9 kB / 0.7506 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.6851, allocations: 4 kB / 0.7506 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.6851, allocations: 7.984 kB / 0.7506 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.6851, allocations: 0 / 0.7506 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.6853, allocations: 43.98 kB / 0.7507 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.6853, allocations: 11.92 kB / 0.7507 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002426/0.6856, allocations: 37.38 kB / 0.7507 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.842e-05/0.6856, allocations: 12 kB / 0.7507 GB, free: 14.57 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000157/0.6858, allocations: 153.7 kB / 0.7509 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.6859, allocations: 35.61 kB / 0.7509 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007338/0.6866, allocations: 333.6 kB / 0.7512 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-06/0.6867, allocations: 0 / 0.7512 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.6867, allocations: 1 kB / 0.7512 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.6867, allocations: 0 / 0.7512 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00126/0.6879, allocations: 0.8201 MB / 0.752 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.688, allocations: 0 / 0.752 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001897/0.6882, allocations: 39.97 kB / 0.7521 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.6882, allocations: 0 / 0.7521 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.146e-05/0.6882, allocations: 4.5 kB / 0.7521 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.6882, allocations: 11.89 kB / 0.7521 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/0.6882, allocations: 4 kB / 0.7521 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006694/0.6889, allocations: 0.4932 MB / 0.7526 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.689, allocations: 128.7 kB / 0.7527 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.215e-05/0.6891, allocations: 17.62 kB / 0.7527 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002682/0.6894, allocations: 27.92 kB / 0.7527 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.829e-05/0.6894, allocations: 11.98 kB / 0.7527 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-05/0.6895, allocations: 15.98 kB / 0.7528 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002069/0.6897, allocations: 227 kB / 0.753 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6897, allocations: 0 / 0.753 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005501/0.6902, allocations: 115.8 kB / 0.7531 GB, free: 11.97 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001538/0.6918, allocations: 1.627 MB / 0.7547 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004995/0.6923, allocations: 228.8 kB / 0.7549 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.6923, allocations: 0 / 0.7549 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002356/0.6926, allocations: 132.3 kB / 0.755 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007775/0.6933, allocations: 145 kB / 0.7552 GB, free: 9.785 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001851/0.6952, allocations: 2.245 MB / 0.7574 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003583/0.6956, allocations: 0.7924 MB / 0.7581 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002983/0.6959, allocations: 88.41 kB / 0.7582 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000159/0.6961, allocations: 103.4 kB / 0.7583 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of SimCode: time 2.41e-07/0.6961, allocations: 0 / 0.7583 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0225/0.7186, allocations: 9.829 MB / 0.7679 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002925/0.7189, allocations: 226.7 kB / 0.7681 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.02/2.739, allocations: 0 / 0.7681 GB, free: 12.62 MB / 0.5919 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_EntropyFlowRate.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) Environment - environmentSimulation: