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.0009652/0.0009653, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001262/0.001262, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.714/1.714, allocations: 205.4 MB / 222.1 MB, free: 5.633 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.6272/0.6272, allocations: 95.62 MB / 366 MB, free: 10.35 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.0008804/0.0008808, allocations: 24 kB / 446.9 MB, free: 9.348 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4049/0.4058, allocations: 70.33 MB / 0.5051 GB, free: 16.47 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.6356/1.041, allocations: 129.2 MB / 0.6312 GB, free: 2.023 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004407/1.046, allocations: 2.532 MB / 0.6337 GB, free: 1.973 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003402/1.046, allocations: 9.031 kB / 0.6337 GB, free: 1.973 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007334/1.047, allocations: 119.7 kB / 0.6338 GB, free: 1.973 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.0007741/1.048, allocations: 264.8 kB / 0.6341 GB, free: 1.957 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001151/1.049, allocations: 325.7 kB / 0.6344 GB, free: 1.949 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001463/1.051, allocations: 0.9145 MB / 0.6353 GB, free: 1.945 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004/1.051, allocations: 193.7 kB / 0.6354 GB, free: 1.922 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006494/1.052, allocations: 295.7 kB / 0.6357 GB, free: 1.922 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004284/1.052, allocations: 253.3 kB / 0.636 GB, free: 1.922 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.226e-05/1.052, allocations: 12.19 kB / 0.636 GB, free: 1.922 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003947/1.052, allocations: 108.7 kB / 0.6361 GB, free: 1.922 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001175/1.053, allocations: 74.8 kB / 0.6361 GB, free: 1.918 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003051/1.053, allocations: 88.7 kB / 0.6362 GB, free: 17.89 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005255/1.053, allocations: 334.6 kB / 0.6366 GB, free: 17.86 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/1.053, allocations: 1.859 kB / 0.6366 GB, free: 17.86 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.144e-06/1.053, allocations: 0 / 0.6366 GB, free: 17.86 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.553e-06/1.053, allocations: 0 / 0.6366 GB, free: 17.86 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.0009411/1.054, allocations: 0.5736 MB / 0.6371 GB, free: 17.4 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/1.054, allocations: 16.41 kB / 0.6371 GB, free: 17.4 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000302/1.055, allocations: 45.16 kB / 0.6372 GB, free: 17.38 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004009/1.055, allocations: 311 kB / 0.6375 GB, free: 17.15 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/1.055, allocations: 18.16 kB / 0.6375 GB, free: 17.15 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.637e-05/1.055, allocations: 22.84 kB / 0.6375 GB, free: 17.15 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005761/1.056, allocations: 313.9 kB / 0.6378 GB, free: 17.06 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/1.056, allocations: 0 / 0.6378 GB, free: 17.06 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.565e-05/1.056, allocations: 15.2 kB / 0.6378 GB, free: 17.05 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/1.056, allocations: 6.312 kB / 0.6378 GB, free: 17.05 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004483/1.056, allocations: 213.2 kB / 0.638 GB, free: 17.05 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001795/1.058, allocations: 1.322 MB / 0.6393 GB, free: 16.16 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002898/1.058, allocations: 134.7 kB / 0.6395 GB, free: 16.14 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/1.059, allocations: 64.88 kB / 0.6395 GB, free: 16.13 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004669/1.059, allocations: 301.7 kB / 0.6398 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/1.059, allocations: 35.25 kB / 0.6398 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/1.059, allocations: 0 / 0.6398 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13): time 0.0005738/1.06, allocations: 227.1 kB / 0.6401 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.065e-05/1.06, allocations: 105.4 kB / 0.6402 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004219/1.06, allocations: 343.5 kB / 0.6405 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/1.06, allocations: 34.05 kB / 0.6405 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/1.06, allocations: 190.3 kB / 0.6407 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.773e-05/1.061, allocations: 43.95 kB / 0.6407 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.758e-06/1.061, allocations: 4.438 kB / 0.6407 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001531/1.061, allocations: 347.2 kB / 0.6411 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/1.061, allocations: 59.09 kB / 0.6411 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002194/1.061, allocations: 175.7 kB / 0.6413 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001845/1.061, allocations: 89.33 kB / 0.6414 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/1.061, allocations: 0.7812 kB / 0.6414 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005104/1.062, allocations: 266.8 kB / 0.6416 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/1.062, allocations: 13.41 kB / 0.6416 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/1.062, allocations: 4.281 kB / 0.6417 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/1.062, allocations: 8.625 kB / 0.6417 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003627/1.062, allocations: 71.14 kB / 0.6417 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.524e-05/1.062, allocations: 7.438 kB / 0.6417 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002307/1.062, allocations: 37.94 kB / 0.6418 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.519e-05/1.063, allocations: 12.25 kB / 0.6418 GB, free: 14.8 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001919/1.063, allocations: 155.3 kB / 0.6419 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.654e-05/1.063, allocations: 35.06 kB / 0.642 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004682/1.063, allocations: 190.6 kB / 0.6421 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/1.063, allocations: 7.219 kB / 0.6422 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/1.063, allocations: 0 / 0.6422 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/1.063, allocations: 0 / 0.6422 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004091/1.064, allocations: 314.2 kB / 0.6425 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/1.064, allocations: 1.031 kB / 0.6425 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002535/1.064, allocations: 53.66 kB / 0.6425 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/1.064, allocations: 0.9375 kB / 0.6425 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/1.064, allocations: 5.438 kB / 0.6425 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/1.064, allocations: 10.08 kB / 0.6425 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/1.064, allocations: 0 / 0.6425 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000559/1.065, allocations: 352.8 kB / 0.6429 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.64e-05/1.065, allocations: 104.5 kB / 0.643 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.636e-05/1.065, allocations: 5.156 kB / 0.643 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002201/1.065, allocations: 16.05 kB / 0.643 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.889e-05/1.065, allocations: 10.09 kB / 0.643 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.458e-05/1.065, allocations: 8.609 kB / 0.643 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003066/1.065, allocations: 243.2 kB / 0.6432 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.065, allocations: 3.875 kB / 0.6432 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005393/1.066, allocations: 86.72 kB / 0.6433 GB, free: 14.05 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 (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.0004857/1.066, allocations: 155 kB / 0.6435 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004859/1.067, allocations: 163.3 kB / 0.6436 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/1.067, allocations: 0 / 0.6436 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001661/1.067, allocations: 65.64 kB / 0.6437 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009211/1.068, allocations: 173.1 kB / 0.6438 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009437/1.069, allocations: 0.6532 MB / 0.6445 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003762/1.069, allocations: 0.7778 MB / 0.6452 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002561/1.07, allocations: 64.73 kB / 0.6453 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.144e-05/1.07, allocations: 27.94 kB / 0.6453 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/1.07, allocations: 0 / 0.6453 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of Templates: time 0.01276/1.083, allocations: 5.429 MB / 0.6506 GB, free: 12.48 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: