Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001305/0.001304, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001355/0.001355, allocations: 195.9 kB / 16.25 MB, free: 6.621 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 / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002129/0.002129, allocations: 294.8 kB / 290.4 MB, free: 2.105 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9655/0.9655, allocations: 169.2 MB / 0.4978 GB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001707/0.001707, allocations: 99.55 kB / 0.5947 GB, free: 28.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1803/0.182, allocations: 86.97 MB / 0.6796 GB, free: 1.062 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.563/0.7451, allocations: 159.1 MB / 0.835 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004788/0.7499, allocations: 4.509 MB / 0.8394 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004872/0.7505, allocations: 9.375 kB / 0.8394 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004832/0.7509, allocations: 106 kB / 0.8395 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0008603/0.7519, allocations: 315.6 kB / 0.8398 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008084/0.7527, allocations: 248.9 kB / 0.8401 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006822/0.7534, allocations: 0.5647 MB / 0.8406 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003275/0.7537, allocations: 197.4 kB / 0.8408 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001104/0.7548, allocations: 453.4 kB / 0.8412 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002535/0.7551, allocations: 206.2 kB / 0.8414 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.141e-05/0.7551, allocations: 14.66 kB / 0.8415 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001642/0.7553, allocations: 75.86 kB / 0.8415 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.469e-05/0.7554, allocations: 84.56 kB / 0.8416 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.7555, allocations: 117.1 kB / 0.8417 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003759/0.7559, allocations: 304.4 kB / 0.842 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.7559, allocations: 0 / 0.842 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.645e-06/0.7559, allocations: 0 / 0.842 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.756, allocations: 5.312 kB / 0.842 GB, free: 15.01 MB / 0.5762 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.0009015/0.7569, allocations: 0.5287 MB / 0.8425 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.7569, allocations: 11.7 kB / 0.8425 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.987e-05/0.757, allocations: 32.44 kB / 0.8426 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000379/0.7574, allocations: 277.1 kB / 0.8428 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.7574, allocations: 14.75 kB / 0.8429 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.137e-05/0.7575, allocations: 16.25 kB / 0.8429 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004374/0.7579, allocations: 270.4 kB / 0.8431 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.7579, allocations: 1.188 kB / 0.8431 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.611e-05/0.758, allocations: 12.94 kB / 0.8431 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.968e-06/0.758, allocations: 5.75 kB / 0.8431 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003431/0.7583, allocations: 148.8 kB / 0.8433 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001445/0.7598, allocations: 1.365 MB / 0.8446 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003064/0.7601, allocations: 188.4 kB / 0.8448 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001728/0.7603, allocations: 91.98 kB / 0.8449 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003441/0.7606, allocations: 125.7 kB / 0.845 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.7607, allocations: 38.62 kB / 0.845 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.343e-06/0.7607, allocations: 0 / 0.845 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0005953/0.7613, allocations: 212.6 kB / 0.8453 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.315e-05/0.7614, allocations: 185.2 kB / 0.8454 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003036/0.7617, allocations: 290.9 kB / 0.8457 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.7617, allocations: 27.08 kB / 0.8457 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/0.7619, allocations: 151.4 kB / 0.8459 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.079e-05/0.7619, allocations: 41.38 kB / 0.8459 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.63e-05/0.762, allocations: 35.19 kB / 0.8459 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.7622, allocations: 336.7 kB / 0.8463 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.7623, allocations: 42.44 kB / 0.8463 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001929/0.7625, allocations: 119.6 kB / 0.8464 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002832/0.7628, allocations: 157.2 kB / 0.8466 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.7628, allocations: 1.344 kB / 0.8466 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003702/0.7632, allocations: 189.5 kB / 0.8468 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.7632, allocations: 15.88 kB / 0.8468 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.7632, allocations: 2.75 kB / 0.8468 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.7632, allocations: 3 kB / 0.8468 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.7634, allocations: 28.2 kB / 0.8468 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.7634, allocations: 6.5 kB / 0.8468 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/0.7636, allocations: 21.64 kB / 0.8468 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.161e-05/0.7636, allocations: 15.77 kB / 0.8468 GB, free: 11.39 MB / 0.5762 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.0001386/0.7638, allocations: 144.5 kB / 0.847 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.7639, allocations: 26.84 kB / 0.847 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003339/0.7642, allocations: 142.7 kB / 0.8471 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.7642, allocations: 2.688 kB / 0.8471 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.7642, allocations: 1.469 kB / 0.8471 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.7643, allocations: 1.438 kB / 0.8471 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008509/0.7651, allocations: 0.7751 MB / 0.8479 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.7651, allocations: 2.688 kB / 0.8479 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.7652, allocations: 23.92 kB / 0.8479 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.7653, allocations: 2.656 kB / 0.8479 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.7653, allocations: 4.094 kB / 0.8479 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.7653, allocations: 5.031 kB / 0.8479 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.7653, allocations: 4 kB / 0.8479 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005166/0.7658, allocations: 346.4 kB / 0.8483 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001912/0.766, allocations: 106.8 kB / 0.8484 GB, free: 9.973 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.823e-05/0.7661, allocations: 2.469 kB / 0.8484 GB, free: 9.973 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.7662, allocations: 13.2 kB / 0.8484 GB, free: 9.965 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.208e-05/0.7663, allocations: 17.89 kB / 0.8484 GB, free: 9.953 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.777e-06/0.7663, allocations: 3.875 kB / 0.8484 GB, free: 9.953 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001971/0.7665, allocations: 213.2 kB / 0.8486 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7665, allocations: 0 / 0.8486 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00037/0.7669, allocations: 59.16 kB / 0.8487 GB, free: 9.797 MB / 0.5762 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.0003398/0.7672, allocations: 131 kB / 0.8488 GB, free: 9.699 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000341/0.7676, allocations: 130.4 kB / 0.8489 GB, free: 9.641 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.7676, allocations: 0 / 0.8489 GB, free: 9.641 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001333/0.7677, allocations: 63.27 kB / 0.849 GB, free: 9.609 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007441/0.7685, allocations: 139.8 kB / 0.8491 GB, free: 9.543 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009261/0.7694, allocations: 0.5392 MB / 0.8496 GB, free: 9.121 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004018/0.7698, allocations: 0.758 MB / 0.8504 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001615/0.77, allocations: 55.5 kB / 0.8504 GB, free: 8.359 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.631e-05/0.7701, allocations: 27.56 kB / 0.8505 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of SimCode: time 2.7e-07/0.7701, allocations: 0 / 0.8505 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of Templates: time 0.008542/0.7786, allocations: 4.152 MB / 0.8545 GB, free: 6.328 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)