Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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 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(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.0009434/0.0009434, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.006768/0.006768, allocations: 171.1 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.767/1.767, allocations: 205.4 MB / 222.4 MB, free: 5.801 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5984/0.5984, allocations: 95.63 MB / 366.4 MB, free: 10.31 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006709/0.0006709, allocations: 16 kB / 447.5 MB, free: 9.039 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4093/0.41, allocations: 70.32 MB / 0.5057 GB, free: 16.36 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.5281/0.9382, allocations: 138.5 MB / 0.641 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003866/0.9421, allocations: 2.654 MB / 0.6435 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004856/0.9426, allocations: 14.53 kB / 0.6436 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006634/0.9433, allocations: 130.8 kB / 0.6437 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006946/0.944, allocations: 256.8 kB / 0.6439 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00119/0.9452, allocations: 377.3 kB / 0.6443 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001403/0.9466, allocations: 1.08 MB / 0.6453 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004285/0.9471, allocations: 202.6 kB / 0.6455 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006795/0.9478, allocations: 302.7 kB / 0.6458 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004311/0.9482, allocations: 265.6 kB / 0.6461 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.105e-05/0.9483, allocations: 13.53 kB / 0.6461 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004127/0.9487, allocations: 162.1 kB / 0.6462 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.9488, allocations: 68.28 kB / 0.6463 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002811/0.9491, allocations: 192.4 kB / 0.6465 GB, free: 16.62 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005483/0.9496, allocations: 441.6 kB / 0.6469 GB, free: 16.59 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.9497, allocations: 4 kB / 0.6469 GB, free: 16.59 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.267e-06/0.9497, allocations: 0.6562 kB / 0.6469 GB, free: 16.59 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.9497, allocations: 2.906 kB / 0.6469 GB, free: 16.59 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001018/0.9507, allocations: 0.57 MB / 0.6475 GB, free: 16.13 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.9507, allocations: 12.42 kB / 0.6475 GB, free: 16.13 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002399/0.951, allocations: 48.34 kB / 0.6475 GB, free: 16.11 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004132/0.9514, allocations: 316.2 kB / 0.6478 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.696e-05/0.9514, allocations: 14.38 kB / 0.6479 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.615e-05/0.9515, allocations: 22.19 kB / 0.6479 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000536/0.952, allocations: 317.4 kB / 0.6482 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.9521, allocations: 3.094 kB / 0.6482 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.892e-05/0.9521, allocations: 10.94 kB / 0.6482 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.9521, allocations: 5.469 kB / 0.6482 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005019/0.9526, allocations: 211.2 kB / 0.6484 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001924/0.9546, allocations: 1.339 MB / 0.6497 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003345/0.9549, allocations: 130.2 kB / 0.6498 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001897/0.9551, allocations: 71.36 kB / 0.6499 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005576/0.9557, allocations: 290.7 kB / 0.6502 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.9557, allocations: 40.44 kB / 0.6502 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=13): time 2.344e-06/0.9557, allocations: 0 / 0.6502 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13): time 0.0005989/0.9563, allocations: 232.7 kB / 0.6504 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.292e-05/0.9564, allocations: 112.4 kB / 0.6505 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003094/0.9567, allocations: 333.5 kB / 0.6509 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.163e-05/0.9568, allocations: 29.58 kB / 0.6509 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.9569, allocations: 193.5 kB / 0.6511 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.845e-05/0.957, allocations: 43.16 kB / 0.6511 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.933e-05/0.957, allocations: 26.22 kB / 0.6511 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.9572, allocations: 342.6 kB / 0.6515 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001784/0.9574, allocations: 65.92 kB / 0.6515 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002204/0.9576, allocations: 173.7 kB / 0.6517 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003611/0.958, allocations: 242 kB / 0.6519 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.958, allocations: 1.859 kB / 0.6519 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004912/0.9585, allocations: 267.9 kB / 0.6522 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.9585, allocations: 8.031 kB / 0.6522 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.9585, allocations: 3.156 kB / 0.6522 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.9585, allocations: 5.938 kB / 0.6522 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003672/0.9589, allocations: 77.78 kB / 0.6523 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-05/0.9589, allocations: 4.219 kB / 0.6523 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002531/0.9592, allocations: 39.22 kB / 0.6523 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.276e-05/0.9592, allocations: 12.53 kB / 0.6523 GB, free: 13.39 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (25): * Single equations (assignments): 25 * 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.0001624/0.9594, allocations: 156.1 kB / 0.6525 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.77e-05/0.9595, allocations: 34.16 kB / 0.6525 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005002/0.96, allocations: 192.5 kB / 0.6527 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.96, allocations: 1.625 kB / 0.6527 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.96, allocations: 3.438 kB / 0.6527 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.96, allocations: 0.5625 kB / 0.6527 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004669/0.9605, allocations: 317.2 kB / 0.653 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.9605, allocations: 0.5938 kB / 0.653 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000303/0.9608, allocations: 52.08 kB / 0.653 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.9608, allocations: 1.031 kB / 0.653 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.9609, allocations: 8.25 kB / 0.6531 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.9609, allocations: 1.031 kB / 0.6531 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.9609, allocations: 0 / 0.6531 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005848/0.9615, allocations: 353.7 kB / 0.6534 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.807e-05/0.9616, allocations: 103.5 kB / 0.6535 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.542e-05/0.9616, allocations: 11.44 kB / 0.6535 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002238/0.9618, allocations: 15.34 kB / 0.6535 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.609e-05/0.9619, allocations: 10.42 kB / 0.6535 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.9619, allocations: 8.078 kB / 0.6535 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000224/0.9622, allocations: 242.4 kB / 0.6538 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9622, allocations: 0 / 0.6538 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004399/0.9626, allocations: 89.66 kB / 0.6539 GB, free: 12.64 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * 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.0004127/0.963, allocations: 160.1 kB / 0.654 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003934/0.9634, allocations: 171.4 kB / 0.6542 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.9634, allocations: 0 / 0.6542 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.9636, allocations: 67.33 kB / 0.6542 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009496/0.9646, allocations: 181.5 kB / 0.6544 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009505/0.9655, allocations: 0.6827 MB / 0.6551 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.9659, allocations: 0.7685 MB / 0.6558 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002538/0.9661, allocations: 61.67 kB / 0.6559 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.265e-05/0.9662, allocations: 34.78 kB / 0.6559 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of SimCode: time 3.4e-07/0.9662, allocations: 0 / 0.6559 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of Templates: time 0.01062/0.9768, allocations: 5.634 MB / 0.6614 GB, free: 11.04 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) Environment - environmentSimulation: