Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy.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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy") translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 105.1 kB / 16.41 MB, free: 6.5 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.001614/0.001614, allocations: 187 kB / 17.34 MB, free: 5.742 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.355/1.355, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8276/0.8276, allocations: 143.1 MB / 434.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 64.56 kB / 0.5962 GB, free: 12.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1536, allocations: 82.03 MB / 0.6763 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy): time 0.503/0.6567, allocations: 163.3 MB / 0.8358 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005143/0.6619, allocations: 4.58 MB / 0.8402 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003069/0.6622, allocations: 15.28 kB / 0.8402 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004465/0.6627, allocations: 127.8 kB / 0.8404 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001397/0.6641, allocations: 0.5401 MB / 0.8409 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001732/0.6658, allocations: 0.7789 MB / 0.8417 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006882/0.6665, allocations: 0.573 MB / 0.8422 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003826/0.6669, allocations: 219.1 kB / 0.8424 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001023/0.668, allocations: 457.2 kB / 0.8429 GB, free: 312 kB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005927/0.6686, allocations: 287.4 kB / 0.8431 GB, free: 144 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.435e-05/0.6686, allocations: 17.78 kB / 0.8431 GB, free: 144 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001567/0.6702, allocations: 1.006 MB / 0.8441 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.6703, allocations: 89.12 kB / 0.8442 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001381/0.6705, allocations: 125.2 kB / 0.8443 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001162/0.6716, allocations: 0.7362 MB / 0.8451 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.962e-06/0.6717, allocations: 7.094 kB / 0.8451 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.202e-06/0.6717, allocations: 0 / 0.8451 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.859e-06/0.6717, allocations: 0 / 0.8451 GB, free: 14.98 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0009709/0.6727, allocations: 0.5802 MB / 0.8456 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.6727, allocations: 10.78 kB / 0.8456 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007055/0.6734, allocations: 83.3 kB / 0.8457 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004142/0.6738, allocations: 302.9 kB / 0.846 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.6739, allocations: 13.81 kB / 0.846 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.624e-05/0.6739, allocations: 21.03 kB / 0.846 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004799/0.6744, allocations: 279.7 kB / 0.8463 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.6744, allocations: 3.938 kB / 0.8463 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.387e-05/0.6745, allocations: 6.094 kB / 0.8463 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.6745, allocations: 9.188 kB / 0.8463 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004086/0.6749, allocations: 209.3 kB / 0.8465 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001539/0.6764, allocations: 1.245 MB / 0.8477 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002724/0.6767, allocations: 175.3 kB / 0.8479 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001826/0.6769, allocations: 108.6 kB / 0.848 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007601/0.6777, allocations: 341 kB / 0.8483 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.6777, allocations: 33.28 kB / 0.8484 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=13): time 1.402e-06/0.6777, allocations: 7.938 kB / 0.8484 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of matching and sorting (n=13): time 0.000743/0.6785, allocations: 275.3 kB / 0.8486 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.898e-05/0.6786, allocations: 163.5 kB / 0.8488 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000258/0.6788, allocations: 281.8 kB / 0.8491 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.6789, allocations: 27.98 kB / 0.8491 GB, free: 11.49 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/0.679, allocations: 148.5 kB / 0.8492 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.782e-05/0.679, allocations: 47.95 kB / 0.8493 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.371e-05/0.6791, allocations: 47.55 kB / 0.8493 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.6792, allocations: 335.9 kB / 0.8496 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001672/0.6794, allocations: 70.94 kB / 0.8497 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000217/0.6796, allocations: 148.7 kB / 0.8499 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000346/0.68, allocations: 212.9 kB / 0.8501 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.68, allocations: 0 / 0.8501 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004878/0.6805, allocations: 250.2 kB / 0.8503 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.6805, allocations: 7.094 kB / 0.8503 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.6805, allocations: 3.031 kB / 0.8503 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.6805, allocations: 2.719 kB / 0.8503 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000189/0.6807, allocations: 39.14 kB / 0.8503 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.938e-06/0.6808, allocations: 9.828 kB / 0.8504 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002071/0.681, allocations: 29.53 kB / 0.8504 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.086e-05/0.681, allocations: 14.3 kB / 0.8504 GB, free: 10.45 MB / 0.6231 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 (18): * Single equations (assignments): 18 * 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.0001337/0.6811, allocations: 149 kB / 0.8505 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/0.6813, allocations: 26.69 kB / 0.8506 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004408/0.6817, allocations: 193 kB / 0.8507 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.6818, allocations: 2.406 kB / 0.8507 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.6818, allocations: 2.531 kB / 0.8508 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.6818, allocations: 1.875 kB / 0.8508 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009004/0.6827, allocations: 0.8493 MB / 0.8516 GB, free: 9.352 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.6827, allocations: 0 / 0.8516 GB, free: 9.352 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/0.6828, allocations: 25.52 kB / 0.8516 GB, free: 9.344 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.79e-06/0.6828, allocations: 6.469 kB / 0.8516 GB, free: 9.34 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.6829, allocations: 6.625 kB / 0.8516 GB, free: 9.336 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.6829, allocations: 2.219 kB / 0.8516 GB, free: 9.336 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.6829, allocations: 3.344 kB / 0.8516 GB, free: 9.336 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005302/0.6834, allocations: 346.8 kB / 0.852 GB, free: 9.059 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.6835, allocations: 113.4 kB / 0.8521 GB, free: 8.941 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.572e-05/0.6836, allocations: 10.2 kB / 0.8521 GB, free: 8.934 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.6837, allocations: 8.625 kB / 0.8521 GB, free: 8.93 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.081e-05/0.6838, allocations: 9.641 kB / 0.8521 GB, free: 8.926 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.6838, allocations: 6.531 kB / 0.8521 GB, free: 8.922 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002224/0.684, allocations: 242.3 kB / 0.8523 GB, free: 8.762 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.71e-07/0.684, allocations: 0 / 0.8523 GB, free: 8.762 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004602/0.6845, allocations: 92.11 kB / 0.8524 GB, free: 8.746 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * 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 (10): * Single equations (assignments): 10 * 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.0005087/0.685, allocations: 224.2 kB / 0.8526 GB, free: 8.605 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003768/0.6854, allocations: 151 kB / 0.8528 GB, free: 8.539 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.6854, allocations: 0 / 0.8528 GB, free: 8.539 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001384/0.6856, allocations: 69.16 kB / 0.8528 GB, free: 8.492 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007141/0.6863, allocations: 137.2 kB / 0.853 GB, free: 8.363 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008075/0.6871, allocations: 0.5287 MB / 0.8535 GB, free: 7.785 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002987/0.6874, allocations: 0.7518 MB / 0.8542 GB, free: 7.004 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.704e-05/0.6875, allocations: 27.44 kB / 0.8542 GB, free: 6.977 MB / 0.6231 GB Notification: Performance of SimCode: time 4.31e-07/0.6875, allocations: 0 / 0.8542 GB, free: 6.977 MB / 0.6231 GB Notification: Performance of Templates: time 0.00831/0.6958, allocations: 5.347 MB / 0.8595 GB, free: 1.664 MB / 0.6231 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)