Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001124/0.001124, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.001044/0.001044, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.304/1.304, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002142/0.002142, allocations: 289.9 kB / 291.4 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.932/0.932, allocations: 169.3 MB / 0.4989 GB, free: 4.477 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 94.52 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1682, allocations: 86.97 MB / 0.6816 GB, free: 7.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.4551/0.6233, allocations: 161.3 MB / 0.8392 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005132/0.6285, allocations: 4.559 MB / 0.8436 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003126/0.6288, allocations: 11.88 kB / 0.8436 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004266/0.6293, allocations: 123.1 kB / 0.8437 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007616/0.6301, allocations: 330.4 kB / 0.844 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007381/0.6309, allocations: 279.3 kB / 0.8443 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005882/0.6315, allocations: 0.5573 MB / 0.8449 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003423/0.6318, allocations: 209.1 kB / 0.8451 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008961/0.6327, allocations: 454.2 kB / 0.8455 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002546/0.633, allocations: 183.3 kB / 0.8457 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.496e-05/0.633, allocations: 16 kB / 0.8457 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001678/0.6332, allocations: 87.81 kB / 0.8458 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001108/0.6333, allocations: 95.77 kB / 0.8459 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001187/0.6334, allocations: 115.4 kB / 0.846 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003656/0.6338, allocations: 301.8 kB / 0.8463 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.6338, allocations: 3.938 kB / 0.8463 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.554e-06/0.6338, allocations: 4 kB / 0.8463 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.6338, allocations: 0 / 0.8463 GB, free: 5.867 MB / 0.6075 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.0007935/0.6347, allocations: 0.5301 MB / 0.8468 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.6347, allocations: 12.03 kB / 0.8468 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.49e-05/0.6348, allocations: 31.66 kB / 0.8468 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004157/0.6352, allocations: 287.4 kB / 0.8471 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.834e-05/0.6352, allocations: 12 kB / 0.8471 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.032e-05/0.6353, allocations: 20 kB / 0.8471 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003971/0.6357, allocations: 266.3 kB / 0.8474 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.6357, allocations: 3.938 kB / 0.8474 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.232e-05/0.6357, allocations: 15.94 kB / 0.8474 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.6357, allocations: 4 kB / 0.8474 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003185/0.6361, allocations: 147.8 kB / 0.8475 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001259/0.6373, allocations: 1.36 MB / 0.8489 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002742/0.6376, allocations: 179.7 kB / 0.849 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000159/0.6378, allocations: 105 kB / 0.8491 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003456/0.6381, allocations: 117.1 kB / 0.8493 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/0.6382, allocations: 42.5 kB / 0.8493 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.593e-06/0.6382, allocations: 3.938 kB / 0.8493 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0006118/0.6388, allocations: 205.7 kB / 0.8495 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.298e-05/0.6389, allocations: 191.8 kB / 0.8497 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002932/0.6392, allocations: 287 kB / 0.85 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.6392, allocations: 29.69 kB / 0.85 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.6394, allocations: 155.8 kB / 0.8501 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.917e-05/0.6394, allocations: 27.56 kB / 0.8502 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.765e-05/0.6395, allocations: 45.7 kB / 0.8502 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.6396, allocations: 334.8 kB / 0.8505 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.6397, allocations: 39.97 kB / 0.8506 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001833/0.6399, allocations: 120.3 kB / 0.8507 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002658/0.6402, allocations: 158.7 kB / 0.8508 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.6402, allocations: 0 / 0.8508 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003511/0.6406, allocations: 194 kB / 0.851 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.6406, allocations: 7.938 kB / 0.851 GB, free: 0.5508 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.6406, allocations: 4 kB / 0.851 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.6406, allocations: 4.219 kB / 0.851 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.6408, allocations: 27.98 kB / 0.8511 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.6408, allocations: 4 kB / 0.8511 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001556/0.6409, allocations: 32.33 kB / 0.8511 GB, free: 492 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.265e-05/0.641, allocations: 4 kB / 0.8511 GB, free: 488 kB / 0.6075 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.0001205/0.6411, allocations: 149.8 kB / 0.8512 GB, free: 328 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.6412, allocations: 27.66 kB / 0.8513 GB, free: 300 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003081/0.6415, allocations: 132.1 kB / 0.8514 GB, free: 156 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.6416, allocations: 0 / 0.8514 GB, free: 156 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.6416, allocations: 4 kB / 0.8514 GB, free: 152 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.6416, allocations: 4.594 kB / 0.8514 GB, free: 148 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008316/0.6424, allocations: 0.7807 MB / 0.8522 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.6424, allocations: 0 / 0.8522 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001212/0.6426, allocations: 24.3 kB / 0.8522 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.6426, allocations: 4 kB / 0.8522 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.6426, allocations: 8 kB / 0.8522 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.119e-06/0.6426, allocations: 7.984 kB / 0.8522 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.6426, allocations: 4 kB / 0.8522 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000484/0.6431, allocations: 339.4 kB / 0.8525 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.131e-05/0.6432, allocations: 112.8 kB / 0.8526 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.327e-05/0.6432, allocations: 8.062 kB / 0.8526 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.6434, allocations: 4 kB / 0.8526 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.684e-05/0.6434, allocations: 23.86 kB / 0.8527 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.365e-06/0.6434, allocations: 4 kB / 0.8527 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001829/0.6436, allocations: 209.9 kB / 0.8529 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6436, allocations: 0 / 0.8529 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003256/0.644, allocations: 55.92 kB / 0.8529 GB, free: 14.45 MB / 0.6231 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.0003234/0.6443, allocations: 133.4 kB / 0.8531 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003271/0.6446, allocations: 119.8 kB / 0.8532 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.6446, allocations: 0 / 0.8532 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001417/0.6448, allocations: 60.34 kB / 0.8532 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006819/0.6455, allocations: 136.5 kB / 0.8534 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008106/0.6463, allocations: 496.2 kB / 0.8538 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.6466, allocations: 0.7558 MB / 0.8546 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001348/0.6468, allocations: 58.25 kB / 0.8546 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.068e-05/0.6468, allocations: 19.44 kB / 0.8546 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of SimCode: time 2.71e-07/0.6468, allocations: 0 / 0.8546 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of Templates: time 0.008214/0.655, allocations: 4.236 MB / 0.8588 GB, free: 8.492 MB / 0.6231 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)