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: translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009321/0.0009321, allocations: 99.08 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.0009987/0.0009988, allocations: 177.3 kB / 15.94 MB, free: 228 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.309/1.309, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9662/0.9662, allocations: 143.3 MB / 434.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003099/0.0003101, allocations: 16 kB / 0.5158 GB, free: 11.39 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.148, allocations: 83.41 MB / 0.5973 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate): time 0.4009/0.549, allocations: 141.8 MB / 0.7358 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0067/0.5557, allocations: 5.277 MB / 0.7409 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004028/0.5562, allocations: 11.94 kB / 0.7409 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006692/0.5568, allocations: 186 kB / 0.7411 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001988/0.5588, allocations: 0.7071 MB / 0.7418 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0015/0.5603, allocations: 0.5061 MB / 0.7423 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006357/0.561, allocations: 452.9 kB / 0.7427 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004024/0.5614, allocations: 237.2 kB / 0.743 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001131/0.5625, allocations: 0.4965 MB / 0.7435 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007334/0.5633, allocations: 329.4 kB / 0.7438 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.764e-05/0.5633, allocations: 16 kB / 0.7438 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00137/0.5647, allocations: 0.5544 MB / 0.7443 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001177/0.5648, allocations: 96.31 kB / 0.7444 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.981e-05/0.565, allocations: 90.17 kB / 0.7445 GB, free: 4.586 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007047/0.5657, allocations: 480.4 kB / 0.745 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.5657, allocations: 0 / 0.745 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.482e-06/0.5657, allocations: 4 kB / 0.745 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.5657, allocations: 0 / 0.745 GB, free: 4.293 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.0009276/0.5666, allocations: 0.6112 MB / 0.7456 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.5667, allocations: 12.03 kB / 0.7456 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/0.5677, allocations: 132.8 kB / 0.7457 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004183/0.5681, allocations: 315.7 kB / 0.746 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.397e-05/0.5682, allocations: 46.88 kB / 0.746 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.306e-05/0.5683, allocations: 28.61 kB / 0.7461 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006492/0.5689, allocations: 376.1 kB / 0.7464 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.5689, allocations: 0 / 0.7464 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.258e-05/0.569, allocations: 8 kB / 0.7464 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.497e-05/0.569, allocations: 15.89 kB / 0.7465 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005177/0.5695, allocations: 283.5 kB / 0.7467 GB, free: 2.598 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.001698/0.5712, allocations: 1.493 MB / 0.7482 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004947/0.5717, allocations: 158 kB / 0.7483 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004441/0.5722, allocations: 146.6 kB / 0.7485 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.5722, allocations: 30.56 kB / 0.7485 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/0.5722, allocations: 0 / 0.7485 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0009869/0.5732, allocations: 384.7 kB / 0.7489 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.5733, allocations: 55.41 kB / 0.7489 GB, free: 448 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000305/0.5736, allocations: 321.2 kB / 0.7492 GB, free: 164 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.147e-05/0.5736, allocations: 25.7 kB / 0.7492 GB, free: 132 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.5738, allocations: 194 kB / 0.7494 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.467e-05/0.5738, allocations: 50.41 kB / 0.7495 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.351e-05/0.5738, allocations: 4 kB / 0.7495 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.574, allocations: 341.1 kB / 0.7498 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002077/0.5742, allocations: 91.61 kB / 0.7499 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002544/0.5745, allocations: 167.9 kB / 0.7501 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002553/0.5747, allocations: 112.1 kB / 0.7502 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.5747, allocations: 0.7031 kB / 0.7502 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006196/0.5754, allocations: 313.9 kB / 0.7505 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.5754, allocations: 4.938 kB / 0.7505 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.5754, allocations: 4 kB / 0.7505 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.5754, allocations: 4 kB / 0.7505 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002203/0.5756, allocations: 46.44 kB / 0.7505 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.5757, allocations: 8.188 kB / 0.7505 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002342/0.5759, allocations: 31.83 kB / 0.7506 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.394e-05/0.576, allocations: 12 kB / 0.7506 GB, free: 14.86 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.0001565/0.5761, allocations: 161.6 kB / 0.7507 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.5762, allocations: 31.62 kB / 0.7508 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007101/0.5769, allocations: 329.1 kB / 0.7511 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.577, allocations: 0 / 0.7511 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.577, allocations: 0 / 0.7511 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.577, allocations: 4 kB / 0.7511 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001257/0.5782, allocations: 0.82 MB / 0.7519 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.5783, allocations: 0.9062 kB / 0.7519 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001913/0.5785, allocations: 43.91 kB / 0.7519 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.5785, allocations: 3.938 kB / 0.7519 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.811e-05/0.5785, allocations: 8 kB / 0.7519 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.5785, allocations: 8.172 kB / 0.7519 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.5785, allocations: 8.5 kB / 0.7519 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006504/0.5792, allocations: 497.5 kB / 0.7524 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.5793, allocations: 124.7 kB / 0.7525 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.787e-05/0.5794, allocations: 11.95 kB / 0.7525 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002674/0.5796, allocations: 33.67 kB / 0.7526 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.675e-05/0.5797, allocations: 15.97 kB / 0.7526 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-05/0.5797, allocations: 12 kB / 0.7526 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002031/0.5799, allocations: 227 kB / 0.7528 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.58, allocations: 0 / 0.7528 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005303/0.5805, allocations: 115.8 kB / 0.7529 GB, free: 12.25 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.0004836/0.581, allocations: 217.1 kB / 0.7531 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004935/0.5815, allocations: 223.7 kB / 0.7534 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.5815, allocations: 384 / 0.7534 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002298/0.5817, allocations: 131.8 kB / 0.7535 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007784/0.5825, allocations: 157.3 kB / 0.7536 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.5835, allocations: 0.7012 MB / 0.7543 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.5839, allocations: 0.7953 MB / 0.7551 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000296/0.5842, allocations: 91.42 kB / 0.7552 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.508e-05/0.5843, allocations: 27.44 kB / 0.7552 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of SimCode: time 4.61e-07/0.5843, allocations: 0 / 0.7552 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of Templates: time 0.01145/0.5957, allocations: 6.904 MB / 0.7619 GB, free: 3.086 MB / 0.5762 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.makefile Environment - environmentSimulation: (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 & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) Environment - environmentSimulation: