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/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 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000929/0.000929, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0009946/0.0009947, allocations: 177.3 kB / 15.94 MB, free: 228 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.331/1.331, allocations: 205.4 MB / 222.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.664/1.664, allocations: 292.5 MB / 0.5497 GB, free: 14.63 MB / 462.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: Performance of FrontEnd - loaded program: time 0.0005044/0.0005044, allocations: 14.25 kB / 0.6735 GB, free: 26.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.2539, allocations: 116.3 MB / 0.7871 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.5659/0.8199, allocations: 135.5 MB / 0.9194 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003876/0.8238, allocations: 3.667 MB / 0.923 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002609/0.8241, allocations: 11.56 kB / 0.923 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006281/0.8247, allocations: 154.2 kB / 0.9232 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0007587/0.8255, allocations: 291.6 kB / 0.9235 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001083/0.8266, allocations: 348.1 kB / 0.9238 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004669/0.8271, allocations: 333.5 kB / 0.9241 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003193/0.8274, allocations: 158.6 kB / 0.9243 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006963/0.8281, allocations: 297 kB / 0.9245 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002016/0.8283, allocations: 135.3 kB / 0.9247 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.753e-05/0.8284, allocations: 15.59 kB / 0.9247 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001503/0.8285, allocations: 60.33 kB / 0.9247 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.458e-05/0.8286, allocations: 71.75 kB / 0.9248 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002825/0.8289, allocations: 69.02 kB / 0.9249 GB, free: 21.74 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003026/0.8292, allocations: 208.6 kB / 0.9251 GB, free: 21.73 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.8292, allocations: 0 / 0.9251 GB, free: 21.73 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.054e-06/0.8292, allocations: 0 / 0.9251 GB, free: 21.73 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.8293, allocations: 3.938 kB / 0.9251 GB, free: 21.72 MB / 0.7325 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.0007618/0.83, allocations: 0.5013 MB / 0.9256 GB, free: 21.3 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.8301, allocations: 8.312 kB / 0.9256 GB, free: 21.3 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.003e-05/0.8301, allocations: 28.8 kB / 0.9256 GB, free: 21.28 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003858/0.8305, allocations: 271.9 kB / 0.9259 GB, free: 21.06 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.8306, allocations: 14.38 kB / 0.9259 GB, free: 21.06 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.885e-05/0.8306, allocations: 21.25 kB / 0.9259 GB, free: 21.06 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000401/0.831, allocations: 261.2 kB / 0.9262 GB, free: 20.95 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.831, allocations: 2.906 kB / 0.9262 GB, free: 20.95 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.963e-05/0.831, allocations: 6.25 kB / 0.9262 GB, free: 20.95 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.8311, allocations: 10.59 kB / 0.9262 GB, free: 20.94 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003237/0.8314, allocations: 161.8 kB / 0.9263 GB, free: 20.94 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001229/0.8326, allocations: 1.373 MB / 0.9277 GB, free: 19.86 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002331/0.8329, allocations: 183.7 kB / 0.9278 GB, free: 19.71 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003552/0.8332, allocations: 133.7 kB / 0.928 GB, free: 19.61 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.8333, allocations: 46.25 kB / 0.928 GB, free: 19.57 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.332e-06/0.8333, allocations: 1.75 kB / 0.928 GB, free: 19.57 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0005716/0.8339, allocations: 229.2 kB / 0.9282 GB, free: 19.52 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.344e-05/0.834, allocations: 183.1 kB / 0.9284 GB, free: 19.3 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002723/0.8342, allocations: 286.2 kB / 0.9287 GB, free: 19.19 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.8343, allocations: 34.83 kB / 0.9287 GB, free: 19.16 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.158e-05/0.8344, allocations: 149.1 kB / 0.9289 GB, free: 19.06 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.563e-05/0.8344, allocations: 35.47 kB / 0.9289 GB, free: 19.04 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.861e-06/0.8344, allocations: 2.625 kB / 0.9289 GB, free: 19.04 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.8345, allocations: 335.2 kB / 0.9292 GB, free: 18.73 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.8347, allocations: 47.61 kB / 0.9293 GB, free: 18.73 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/0.8348, allocations: 120.8 kB / 0.9294 GB, free: 18.65 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.835, allocations: 68.52 kB / 0.9294 GB, free: 18.65 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.835, allocations: 0 / 0.9294 GB, free: 18.65 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003463/0.8353, allocations: 201.2 kB / 0.9296 GB, free: 18.6 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.8354, allocations: 5.719 kB / 0.9296 GB, free: 18.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.8354, allocations: 3.875 kB / 0.9296 GB, free: 18.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.8354, allocations: 8.516 kB / 0.9296 GB, free: 18.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.8355, allocations: 33.61 kB / 0.9297 GB, free: 18.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.8355, allocations: 10.05 kB / 0.9297 GB, free: 18.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001544/0.8357, allocations: 38.55 kB / 0.9297 GB, free: 18.58 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.227e-05/0.8357, allocations: 6.344 kB / 0.9297 GB, free: 18.58 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001237/0.8359, allocations: 145.3 kB / 0.9299 GB, free: 18.46 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.836, allocations: 27.8 kB / 0.9299 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003052/0.8363, allocations: 138.6 kB / 0.93 GB, free: 18.41 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.8363, allocations: 10.83 kB / 0.93 GB, free: 18.4 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.8363, allocations: 2.969 kB / 0.93 GB, free: 18.4 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.8363, allocations: 0.5156 kB / 0.93 GB, free: 18.4 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007373/0.8371, allocations: 0.7829 MB / 0.9308 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.8371, allocations: 0 / 0.9308 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.8372, allocations: 25.05 kB / 0.9308 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.8372, allocations: 2.594 kB / 0.9308 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.8372, allocations: 3.203 kB / 0.9308 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.167e-06/0.8372, allocations: 7.812 kB / 0.9308 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.8372, allocations: 4.156 kB / 0.9308 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004723/0.8377, allocations: 414.4 kB / 0.9312 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.565e-05/0.8378, allocations: 107.6 kB / 0.9313 GB, free: 17.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.457e-05/0.8379, allocations: 10.64 kB / 0.9314 GB, free: 17.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.838, allocations: 16.55 kB / 0.9314 GB, free: 17.37 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.752e-05/0.838, allocations: 6.078 kB / 0.9314 GB, free: 17.37 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.164e-06/0.8381, allocations: 4.312 kB / 0.9314 GB, free: 17.37 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001923/0.8383, allocations: 211.5 kB / 0.9316 GB, free: 17.29 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8383, allocations: 4 kB / 0.9316 GB, free: 17.29 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003175/0.8386, allocations: 50.16 kB / 0.9316 GB, free: 17.29 MB / 0.7325 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 (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.0002564/0.8388, allocations: 142.5 kB / 0.9318 GB, free: 17.19 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003109/0.8392, allocations: 133.9 kB / 0.9319 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.8392, allocations: 0 / 0.9319 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.8393, allocations: 65.5 kB / 0.932 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006095/0.8399, allocations: 127.1 kB / 0.9321 GB, free: 17.17 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006578/0.8406, allocations: 0.5549 MB / 0.9326 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.8409, allocations: 0.7645 MB / 0.9334 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001355/0.8411, allocations: 52.59 kB / 0.9334 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.591e-05/0.8411, allocations: 21.17 kB / 0.9334 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.8411, allocations: 0 / 0.9334 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of Templates: time 0.007468/0.8486, allocations: 3.864 MB / 0.9372 GB, free: 15.86 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: