Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001177/0.001177, allocations: 110.5 kB / 16.41 MB, free: 5.984 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.001296/0.001296, allocations: 193 kB / 17.34 MB, free: 5.602 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.342/1.342, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7888/0.7888, allocations: 122.9 MB / 414.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 71.27 kB / 0.5685 GB, free: 28.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1839/0.185, allocations: 77.94 MB / 0.6446 GB, free: 8.988 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.6125/0.7976, allocations: 161.3 MB / 0.8021 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004592/0.8022, allocations: 4.554 MB / 0.8066 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003996/0.8026, allocations: 9.438 kB / 0.8066 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004305/0.8031, allocations: 126.1 kB / 0.8067 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0008058/0.8039, allocations: 330.3 kB / 0.807 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007366/0.8047, allocations: 277.1 kB / 0.8073 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0005759/0.8052, allocations: 0.5573 MB / 0.8078 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002996/0.8056, allocations: 205.1 kB / 0.808 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008457/0.8064, allocations: 461 kB / 0.8085 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002317/0.8067, allocations: 192.4 kB / 0.8087 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.335e-05/0.8067, allocations: 15.59 kB / 0.8087 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001774/0.8069, allocations: 78.11 kB / 0.8087 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 9.332e-05/0.807, allocations: 92.5 kB / 0.8088 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000116/0.8071, allocations: 119.2 kB / 0.8089 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003569/0.8075, allocations: 300.3 kB / 0.8092 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.8075, allocations: 2.578 kB / 0.8092 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.172e-06/0.8075, allocations: 0 / 0.8092 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.8075, allocations: 0 / 0.8092 GB, free: 11.39 MB / 0.5919 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.0007883/0.8083, allocations: 0.5345 MB / 0.8098 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.8083, allocations: 10.69 kB / 0.8098 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.147e-05/0.8084, allocations: 36.78 kB / 0.8098 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003581/0.8088, allocations: 297.2 kB / 0.8101 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.658e-05/0.8088, allocations: 14.44 kB / 0.8101 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.226e-05/0.8089, allocations: 17.16 kB / 0.8101 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004034/0.8093, allocations: 262.9 kB / 0.8104 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.8093, allocations: 2.906 kB / 0.8104 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.902e-05/0.8093, allocations: 15.19 kB / 0.8104 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.8093, allocations: 4.875 kB / 0.8104 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000312/0.8096, allocations: 150.9 kB / 0.8105 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001254/0.8109, allocations: 1.372 MB / 0.8119 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002864/0.8112, allocations: 173.1 kB / 0.812 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.8114, allocations: 97.39 kB / 0.8121 GB, free: 9.25 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003485/0.8117, allocations: 119 kB / 0.8122 GB, free: 9.152 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.8118, allocations: 40.88 kB / 0.8123 GB, free: 9.109 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=10): time 1.422e-06/0.8118, allocations: 0 / 0.8123 GB, free: 9.109 MB / 0.5919 GB Notification: Performance of matching and sorting (n=10): time 0.0006049/0.8124, allocations: 214.1 kB / 0.8125 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.771e-05/0.8125, allocations: 186.3 kB / 0.8127 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002885/0.8128, allocations: 287.6 kB / 0.8129 GB, free: 8.68 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.8128, allocations: 31.7 kB / 0.813 GB, free: 8.648 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.8129, allocations: 149.8 kB / 0.8131 GB, free: 8.539 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.284e-05/0.813, allocations: 41.55 kB / 0.8132 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-05/0.813, allocations: 33.09 kB / 0.8132 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.8132, allocations: 341.3 kB / 0.8135 GB, free: 8.172 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.8133, allocations: 41.7 kB / 0.8135 GB, free: 8.16 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001822/0.8135, allocations: 117.1 kB / 0.8137 GB, free: 8.074 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002538/0.8138, allocations: 159.5 kB / 0.8138 GB, free: 7.98 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.8138, allocations: 0 / 0.8138 GB, free: 7.98 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003365/0.8141, allocations: 186.2 kB / 0.814 GB, free: 7.906 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.8142, allocations: 9.469 kB / 0.814 GB, free: 7.902 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.8142, allocations: 0 / 0.814 GB, free: 7.902 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.8142, allocations: 9.531 kB / 0.814 GB, free: 7.898 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.8143, allocations: 38.56 kB / 0.814 GB, free: 7.887 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.8143, allocations: 2.5 kB / 0.814 GB, free: 7.887 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/0.8145, allocations: 31.3 kB / 0.8141 GB, free: 7.867 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.137e-05/0.8145, allocations: 9.156 kB / 0.8141 GB, free: 7.867 MB / 0.5919 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.0001104/0.8146, allocations: 141.5 kB / 0.8142 GB, free: 7.75 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.8148, allocations: 26.45 kB / 0.8142 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000312/0.8151, allocations: 144.8 kB / 0.8144 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.8151, allocations: 2.672 kB / 0.8144 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.8151, allocations: 3.984 kB / 0.8144 GB, free: 7.652 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.8151, allocations: 4.25 kB / 0.8144 GB, free: 7.652 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007888/0.8159, allocations: 0.7771 MB / 0.8152 GB, free: 6.941 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.8159, allocations: 3.938 kB / 0.8152 GB, free: 6.938 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/0.816, allocations: 21.61 kB / 0.8152 GB, free: 6.934 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.8161, allocations: 2.719 kB / 0.8152 GB, free: 6.934 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.8161, allocations: 2.094 kB / 0.8152 GB, free: 6.934 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.8161, allocations: 2.938 kB / 0.8152 GB, free: 6.934 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.8161, allocations: 2.188 kB / 0.8152 GB, free: 6.934 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005177/0.8166, allocations: 343.6 kB / 0.8155 GB, free: 6.707 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.8167, allocations: 112.5 kB / 0.8156 GB, free: 6.594 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.501e-05/0.8168, allocations: 14.31 kB / 0.8156 GB, free: 6.586 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.8169, allocations: 8.703 kB / 0.8156 GB, free: 6.582 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.826e-05/0.8169, allocations: 16.7 kB / 0.8157 GB, free: 6.574 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.817, allocations: 2.5 kB / 0.8157 GB, free: 6.574 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001852/0.8171, allocations: 208.4 kB / 0.8159 GB, free: 6.473 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8172, allocations: 3.938 kB / 0.8159 GB, free: 6.469 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003273/0.8175, allocations: 53.41 kB / 0.8159 GB, free: 6.465 MB / 0.5919 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.0003402/0.8178, allocations: 148.4 kB / 0.8161 GB, free: 6.355 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003307/0.8182, allocations: 119.6 kB / 0.8162 GB, free: 6.328 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.8182, allocations: 448 / 0.8162 GB, free: 6.328 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.8183, allocations: 68.83 kB / 0.8162 GB, free: 6.309 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006895/0.819, allocations: 126.4 kB / 0.8164 GB, free: 6.262 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007786/0.8198, allocations: 486.7 kB / 0.8168 GB, free: 5.926 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/0.8201, allocations: 0.7572 MB / 0.8176 GB, free: 5.191 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001269/0.8203, allocations: 50.69 kB / 0.8176 GB, free: 5.168 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.304e-05/0.8203, allocations: 25.59 kB / 0.8176 GB, free: 5.16 MB / 0.5919 GB Notification: Performance of SimCode: time 3.2e-07/0.8203, allocations: 0 / 0.8176 GB, free: 5.16 MB / 0.5919 GB Notification: Performance of Templates: time 0.007715/0.8281, allocations: 4.248 MB / 0.8218 GB, free: 3.09 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)