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.001078/0.001078, allocations: 96.89 kB / 15.69 MB, free: 480 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.001352/0.001352, allocations: 173.6 kB / 16.57 MB, free: 6.398 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.302/1.302, allocations: 223.2 MB / 240.5 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6552/0.6552, allocations: 113.8 MB / 405.4 MB, free: 4.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003033/0.0003033, allocations: 8 kB / 493.1 MB, free: 8.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1415, allocations: 77.15 MB / 0.5568 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.3827/0.5242, allocations: 135.5 MB / 0.6892 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004368/0.5286, allocations: 3.681 MB / 0.6927 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002816/0.5289, allocations: 7.938 kB / 0.6928 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0005627/0.5295, allocations: 155.2 kB / 0.6929 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0008318/0.5303, allocations: 291.1 kB / 0.6932 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009671/0.5313, allocations: 343.8 kB / 0.6935 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005024/0.5318, allocations: 335.8 kB / 0.6938 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000307/0.5322, allocations: 153.4 kB / 0.694 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006454/0.5328, allocations: 303.1 kB / 0.6943 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002419/0.5331, allocations: 135.5 kB / 0.6944 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.879e-05/0.5331, allocations: 12 kB / 0.6944 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001723/0.5333, allocations: 63.88 kB / 0.6945 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.424e-05/0.5334, allocations: 71.8 kB / 0.6945 GB, free: 13 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.716e-05/0.5335, allocations: 73.58 kB / 0.6946 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002469/0.5337, allocations: 209.1 kB / 0.6948 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.5337, allocations: 0 / 0.6948 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5338, allocations: 0 / 0.6948 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.012e-05/0.5338, allocations: 0 / 0.6948 GB, free: 12.72 MB / 0.5137 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.0007534/0.5345, allocations: 0.4966 MB / 0.6953 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.5346, allocations: 16.03 kB / 0.6953 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.492e-05/0.5346, allocations: 27.62 kB / 0.6953 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003616/0.535, allocations: 267.5 kB / 0.6956 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.535, allocations: 12 kB / 0.6956 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.813e-05/0.5351, allocations: 21 kB / 0.6956 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004356/0.5355, allocations: 270.5 kB / 0.6959 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.679e-06/0.5355, allocations: 0 / 0.6959 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.984e-05/0.5356, allocations: 8 kB / 0.6959 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.5356, allocations: 4 kB / 0.6959 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003486/0.5359, allocations: 163.7 kB / 0.696 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001321/0.5373, allocations: 1.371 MB / 0.6974 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002833/0.5376, allocations: 191.7 kB / 0.6976 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003586/0.5379, allocations: 133.1 kB / 0.6977 GB, free: 9.473 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.538, allocations: 38.69 kB / 0.6977 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 1.313e-06/0.538, allocations: 0 / 0.6977 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.0006135/0.5386, allocations: 230.6 kB / 0.6979 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.892e-05/0.5387, allocations: 179.9 kB / 0.6981 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002565/0.5389, allocations: 287 kB / 0.6984 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.539, allocations: 33.64 kB / 0.6984 GB, free: 8.656 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.622e-05/0.5391, allocations: 151.8 kB / 0.6986 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.966e-05/0.5391, allocations: 31.5 kB / 0.6986 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.5e-06/0.5391, allocations: 4.031 kB / 0.6986 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.903e-05/0.5392, allocations: 342.8 kB / 0.6989 GB, free: 8.125 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.5394, allocations: 47.95 kB / 0.699 GB, free: 8.078 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001786/0.5395, allocations: 116.7 kB / 0.6991 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.5397, allocations: 71.89 kB / 0.6992 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.5397, allocations: 0 / 0.6992 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003668/0.5401, allocations: 198.9 kB / 0.6993 GB, free: 7.668 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.5401, allocations: 5.875 kB / 0.6994 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.5401, allocations: 7.938 kB / 0.6994 GB, free: 7.656 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.5401, allocations: 4 kB / 0.6994 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.5403, allocations: 35.91 kB / 0.6994 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.5403, allocations: 4 kB / 0.6994 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001812/0.5405, allocations: 39.8 kB / 0.6994 GB, free: 7.574 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.395e-05/0.5405, allocations: 8 kB / 0.6994 GB, free: 7.566 MB / 0.5137 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.0001243/0.5407, allocations: 149.7 kB / 0.6996 GB, free: 7.41 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.5408, allocations: 23.72 kB / 0.6996 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003361/0.5411, allocations: 147.9 kB / 0.6998 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.5411, allocations: 0 / 0.6998 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.5411, allocations: 4 kB / 0.6998 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.5412, allocations: 384 / 0.6998 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007865/0.5419, allocations: 0.7769 MB / 0.7005 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.542, allocations: 4 kB / 0.7005 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001324/0.5421, allocations: 27.98 kB / 0.7005 GB, free: 6.34 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.441e-06/0.5421, allocations: 4 kB / 0.7006 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.5421, allocations: 0 / 0.7006 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.5421, allocations: 4 kB / 0.7006 GB, free: 6.332 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.5421, allocations: 7.891 kB / 0.7006 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005329/0.5427, allocations: 416 kB / 0.701 GB, free: 5.855 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.953e-05/0.5428, allocations: 108.8 kB / 0.7011 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.376e-05/0.5428, allocations: 0 / 0.7011 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.543, allocations: 20.05 kB / 0.7011 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.096e-05/0.543, allocations: 15.94 kB / 0.7011 GB, free: 5.695 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/0.543, allocations: 4 kB / 0.7011 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001787/0.5432, allocations: 206 kB / 0.7013 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2e-07/0.5432, allocations: 3.938 kB / 0.7013 GB, free: 5.492 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003341/0.5436, allocations: 48 kB / 0.7013 GB, free: 5.445 MB / 0.5137 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.0002812/0.5439, allocations: 155.8 kB / 0.7015 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003352/0.5442, allocations: 128 kB / 0.7016 GB, free: 5.168 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.5442, allocations: 0 / 0.7016 GB, free: 5.168 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001468/0.5444, allocations: 67.83 kB / 0.7017 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006582/0.545, allocations: 127.1 kB / 0.7018 GB, free: 4.984 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007574/0.5458, allocations: 0.5432 MB / 0.7023 GB, free: 4.398 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/0.5461, allocations: 0.7638 MB / 0.7031 GB, free: 3.609 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001604/0.5463, allocations: 58.23 kB / 0.7031 GB, free: 3.551 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.156e-05/0.5463, allocations: 19.44 kB / 0.7032 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of SimCode: time 2.7e-07/0.5463, allocations: 0 / 0.7032 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of Templates: time 0.007552/0.5539, allocations: 3.862 MB / 0.7069 GB, free: 15.74 MB / 0.5294 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)