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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(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.001274/0.001274, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 194.7 kB / 16.53 MB, free: 6.664 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.41/1.41, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.855/2.855, allocations: 472.6 MB / 0.7451 GB, free: 4.715 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001425, allocations: 62.61 kB / 0.912 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3334, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1819/0.5153, allocations: 161.4 MB / 1.226 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005633/0.521, allocations: 4.555 MB / 1.23 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005201/0.5216, allocations: 11.94 kB / 1.23 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004874/0.5221, allocations: 119.1 kB / 1.23 GB, free: 3.754 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0008509/0.523, allocations: 330.4 kB / 1.231 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007915/0.5238, allocations: 279.3 kB / 1.231 GB, free: 3.156 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005883/0.5244, allocations: 0.5496 MB / 1.231 GB, free: 2.605 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003538/0.5248, allocations: 213.1 kB / 1.232 GB, free: 2.395 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009101/0.5257, allocations: 458.3 kB / 1.232 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002889/0.526, allocations: 187.3 kB / 1.232 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.734e-05/0.526, allocations: 19.94 kB / 1.232 GB, free: 1.742 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001779/0.5262, allocations: 75.92 kB / 1.232 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.5263, allocations: 91.72 kB / 1.232 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001184/0.5265, allocations: 115.4 kB / 1.233 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004029/0.5269, allocations: 291.1 kB / 1.233 GB, free: 1.18 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.5269, allocations: 0 / 1.233 GB, free: 1.18 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.236e-06/0.5269, allocations: 4 kB / 1.233 GB, free: 1.176 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.5269, allocations: 3.938 kB / 1.233 GB, free: 1.172 MB / 0.9825 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.000845/0.5278, allocations: 0.5358 MB / 1.233 GB, free: 0.5898 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.5278, allocations: 8.031 kB / 1.233 GB, free: 0.582 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.276e-05/0.5279, allocations: 31.66 kB / 1.233 GB, free: 0.5508 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003442/0.5282, allocations: 271.4 kB / 1.234 GB, free: 252 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.5283, allocations: 12 kB / 1.234 GB, free: 240 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.7e-05/0.5283, allocations: 16 kB / 1.234 GB, free: 224 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004344/0.5287, allocations: 265.9 kB / 1.234 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.5288, allocations: 7.875 kB / 1.234 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.059e-05/0.5288, allocations: 11.94 kB / 1.234 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-06/0.5288, allocations: 8 kB / 1.234 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003352/0.5291, allocations: 143.8 kB / 1.234 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001303/0.5305, allocations: 1.371 MB / 1.235 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002936/0.5308, allocations: 187.6 kB / 1.236 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001663/0.5309, allocations: 97.05 kB / 1.236 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003615/0.5313, allocations: 121 kB / 1.236 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.5314, allocations: 38.5 kB / 1.236 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=10): time 1.633e-06/0.5314, allocations: 0 / 1.236 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.0006268/0.532, allocations: 209.1 kB / 1.236 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.9e-05/0.5321, allocations: 188.5 kB / 1.236 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002819/0.5324, allocations: 291 kB / 1.237 GB, free: 13.03 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.5324, allocations: 25.7 kB / 1.237 GB, free: 13 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.5325, allocations: 143.9 kB / 1.237 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.023e-05/0.5326, allocations: 43.45 kB / 1.237 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.434e-05/0.5326, allocations: 33.7 kB / 1.237 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.5328, allocations: 330.8 kB / 1.237 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.5329, allocations: 47.97 kB / 1.237 GB, free: 12.39 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001919/0.5331, allocations: 117.5 kB / 1.237 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002909/0.5334, allocations: 158.7 kB / 1.237 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.5334, allocations: 256 / 1.237 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000376/0.5338, allocations: 197.1 kB / 1.238 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.5338, allocations: 11.94 kB / 1.238 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.5338, allocations: 0 / 1.238 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.5339, allocations: 7.938 kB / 1.238 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001601/0.534, allocations: 27.98 kB / 1.238 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.534, allocations: 0 / 1.238 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001832/0.5342, allocations: 35.89 kB / 1.238 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.683e-05/0.5343, allocations: 12 kB / 1.238 GB, free: 11.78 MB / 0.9981 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.000121/0.5344, allocations: 149.7 kB / 1.238 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.5345, allocations: 27.66 kB / 1.238 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003369/0.5349, allocations: 131 kB / 1.238 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.5349, allocations: 0 / 1.238 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.5349, allocations: 8 kB / 1.238 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.5349, allocations: 0 / 1.238 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008064/0.5357, allocations: 0.7768 MB / 1.239 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.5357, allocations: 0 / 1.239 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001301/0.5359, allocations: 32.08 kB / 1.239 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.5359, allocations: 0 / 1.239 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.5359, allocations: 4 kB / 1.239 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.5359, allocations: 0 / 1.239 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.5359, allocations: 4 kB / 1.239 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005204/0.5364, allocations: 339.3 kB / 1.239 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.066e-05/0.5365, allocations: 108.8 kB / 1.239 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.844e-05/0.5366, allocations: 12.11 kB / 1.239 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.5367, allocations: 8 kB / 1.239 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.5368, allocations: 19.92 kB / 1.239 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.5368, allocations: 4 kB / 1.239 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001923/0.537, allocations: 209.9 kB / 1.239 GB, free: 9.824 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.81e-07/0.537, allocations: 0 / 1.239 GB, free: 9.824 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000345/0.5373, allocations: 52 kB / 1.239 GB, free: 9.773 MB / 0.9981 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.0003593/0.5377, allocations: 141.8 kB / 1.24 GB, free: 9.633 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003848/0.5381, allocations: 131.8 kB / 1.24 GB, free: 9.504 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.5381, allocations: 0 / 1.24 GB, free: 9.504 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001553/0.5383, allocations: 63.84 kB / 1.24 GB, free: 9.441 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007788/0.5391, allocations: 131.7 kB / 1.24 GB, free: 9.32 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008884/0.54, allocations: 491.8 kB / 1.24 GB, free: 8.801 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.5403, allocations: 0.7634 MB / 1.241 GB, free: 8.012 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001532/0.5405, allocations: 46.27 kB / 1.241 GB, free: 7.965 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.684e-05/0.5406, allocations: 27.42 kB / 1.241 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of SimCode: time 2.61e-07/0.5406, allocations: 0 / 1.241 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of Templates: time 0.009133/0.5497, allocations: 4.222 MB / 1.245 GB, free: 3.781 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (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)