Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.658/1.658, allocations: 292.3 MB / 308.1 MB, free: 4.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001482/0.001483, allocations: 185.5 kB / 376.9 MB, free: 1.832 MB / 298.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 MB / 0.6354 GB, free: 9.824 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001082/0.001083, allocations: 104.2 kB / 0.748 GB, free: 61.29 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001048/0.001048, allocations: 55.91 kB / 0.8704 GB, free: 13.14 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2965, allocations: 114.5 MB / 0.9822 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.749/1.046, allocations: 159.1 MB / 1.138 GB, free: 2.469 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004832/1.05, allocations: 4.565 MB / 1.142 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004189/1.051, allocations: 10.56 kB / 1.142 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0005016/1.051, allocations: 101.2 kB / 1.142 GB, free: 15.15 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0009897/1.052, allocations: 315.6 kB / 1.142 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008348/1.053, allocations: 244.6 kB / 1.143 GB, free: 14.86 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0008671/1.054, allocations: 0.7887 MB / 1.143 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003803/1.055, allocations: 181.1 kB / 1.144 GB, free: 14.52 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001074/1.056, allocations: 426.5 kB / 1.144 GB, free: 14.34 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004222/1.056, allocations: 205.3 kB / 1.144 GB, free: 14.26 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 4.693e-05/1.056, allocations: 9.406 kB / 1.144 GB, free: 14.26 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002203/1.056, allocations: 77.34 kB / 1.144 GB, free: 14.24 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0001137/1.057, allocations: 84.34 kB / 1.144 GB, free: 14.21 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0001396/1.057, allocations: 114.6 kB / 1.145 GB, free: 14.15 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0003419/1.057, allocations: 280.8 kB / 1.145 GB, free: 14.04 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/1.057, allocations: 0 / 1.145 GB, free: 14.04 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.032e-06/1.057, allocations: 3 kB / 1.145 GB, free: 14.04 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 8.756e-06/1.057, allocations: 0 / 1.145 GB, free: 14.04 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0009499/1.058, allocations: 0.5315 MB / 1.145 GB, free: 13.58 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/1.058, allocations: 9.625 kB / 1.145 GB, free: 13.58 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.805e-05/1.058, allocations: 28.75 kB / 1.145 GB, free: 13.56 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004313/1.059, allocations: 279.6 kB / 1.146 GB, free: 13.31 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/1.059, allocations: 15.06 kB / 1.146 GB, free: 13.31 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.272e-05/1.059, allocations: 24.97 kB / 1.146 GB, free: 13.3 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004367/1.059, allocations: 262.6 kB / 1.146 GB, free: 13.12 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/1.059, allocations: 0 / 1.146 GB, free: 13.12 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.301e-05/1.059, allocations: 11.22 kB / 1.146 GB, free: 13.12 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/1.059, allocations: 3.406 kB / 1.146 GB, free: 13.12 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003263/1.06, allocations: 153.9 kB / 1.146 GB, free: 13.07 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001424/1.061, allocations: 1.366 MB / 1.147 GB, free: 11.86 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000291/1.061, allocations: 181.4 kB / 1.148 GB, free: 11.69 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001643/1.061, allocations: 97.3 kB / 1.148 GB, free: 11.62 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003462/1.062, allocations: 117.3 kB / 1.148 GB, free: 11.52 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.006e-05/1.062, allocations: 42.62 kB / 1.148 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=10): time 2.044e-06/1.062, allocations: 0 / 1.148 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of matching and sorting (n=10): time 0.000649/1.063, allocations: 219 kB / 1.148 GB, free: 11.38 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.55e-05/1.063, allocations: 183.1 kB / 1.148 GB, free: 11.16 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002985/1.063, allocations: 289.7 kB / 1.148 GB, free: 11 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/1.063, allocations: 25.7 kB / 1.148 GB, free: 10.97 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/1.063, allocations: 155.8 kB / 1.149 GB, free: 10.84 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 3.173e-05/1.063, allocations: 34.78 kB / 1.149 GB, free: 10.81 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.548e-05/1.063, allocations: 33.98 kB / 1.149 GB, free: 10.79 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001441/1.063, allocations: 340 kB / 1.149 GB, free: 10.46 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/1.063, allocations: 41 kB / 1.149 GB, free: 10.45 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002064/1.064, allocations: 122.6 kB / 1.149 GB, free: 10.36 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003888/1.064, allocations: 158.4 kB / 1.149 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/1.064, allocations: 1.344 kB / 1.149 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003956/1.065, allocations: 190.9 kB / 1.15 GB, free: 10.16 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/1.065, allocations: 10.22 kB / 1.15 GB, free: 10.16 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/1.065, allocations: 3.344 kB / 1.15 GB, free: 10.16 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/1.065, allocations: 3.062 kB / 1.15 GB, free: 10.16 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/1.065, allocations: 33.34 kB / 1.15 GB, free: 10.16 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/1.065, allocations: 3.156 kB / 1.15 GB, free: 10.16 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001813/1.065, allocations: 32.08 kB / 1.15 GB, free: 10.14 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.432e-05/1.065, allocations: 6.5 kB / 1.15 GB, free: 10.14 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (15): * Single equations (assignments): 15 * 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.000144/1.065, allocations: 149.8 kB / 1.15 GB, free: 10.01 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000134/1.065, allocations: 32.22 kB / 1.15 GB, free: 9.988 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003134/1.066, allocations: 123.8 kB / 1.15 GB, free: 9.922 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/1.066, allocations: 3.188 kB / 1.15 GB, free: 9.922 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/1.066, allocations: 7.656 kB / 1.15 GB, free: 9.918 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/1.066, allocations: 0 / 1.15 GB, free: 9.918 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008511/1.066, allocations: 0.775 MB / 1.151 GB, free: 9.207 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/1.066, allocations: 2.969 kB / 1.151 GB, free: 9.207 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/1.067, allocations: 19.53 kB / 1.151 GB, free: 9.207 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/1.067, allocations: 6.344 kB / 1.151 GB, free: 9.207 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/1.067, allocations: 7.312 kB / 1.151 GB, free: 9.203 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/1.067, allocations: 2 kB / 1.151 GB, free: 9.203 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/1.067, allocations: 3.062 kB / 1.151 GB, free: 9.203 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004051/1.071, allocations: 1.877 MB / 1.153 GB, free: 7.875 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 9.346e-05/1.071, allocations: 105.5 kB / 1.153 GB, free: 7.766 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.455e-05/1.071, allocations: 6.562 kB / 1.153 GB, free: 7.766 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/1.071, allocations: 14.44 kB / 1.153 GB, free: 7.758 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.978e-05/1.071, allocations: 14.73 kB / 1.153 GB, free: 7.75 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.547e-06/1.071, allocations: 6.281 kB / 1.153 GB, free: 7.75 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001842/1.071, allocations: 210.2 kB / 1.153 GB, free: 7.637 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.2e-07/1.071, allocations: 0 / 1.153 GB, free: 7.637 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004215/1.072, allocations: 75.84 kB / 1.153 GB, free: 7.629 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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.0003523/1.072, allocations: 148.5 kB / 1.153 GB, free: 7.527 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0003166/1.072, allocations: 122.3 kB / 1.153 GB, free: 7.492 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.072, allocations: 0 / 1.153 GB, free: 7.492 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001322/1.073, allocations: 58.98 kB / 1.153 GB, free: 7.477 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007625/1.073, allocations: 126.9 kB / 1.153 GB, free: 7.449 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008878/1.074, allocations: 0.6751 MB / 1.154 GB, free: 6.926 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/1.075, allocations: 0.7587 MB / 1.155 GB, free: 6.223 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001416/1.075, allocations: 57.52 kB / 1.155 GB, free: 6.215 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.875e-05/1.075, allocations: 20.28 kB / 1.155 GB, free: 6.207 MB / 0.7605 GB Notification: Performance of SimCode: time 4e-07/1.075, allocations: 0 / 1.155 GB, free: 6.207 MB / 0.7605 GB Notification: Performance of Templates: time 0.00667/1.081, allocations: 4.122 MB / 1.159 GB, free: 5.965 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)