Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.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.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy") translateModel(IBPSA.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.00121, allocations: 95.88 kB / 15.68 MB, free: 488 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.001815/0.001815, allocations: 174.8 kB / 16.56 MB, free: 6.395 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.29/1.29, allocations: 223.2 MB / 240.5 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6697/0.6697, allocations: 113.8 MB / 405.4 MB, free: 4.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002823/0.0002824, allocations: 12 kB / 493 MB, free: 8.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.128, allocations: 77.16 MB / 0.5568 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.SpecificEntropy): time 0.4019/0.53, allocations: 136.9 MB / 0.6906 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00445/0.5345, allocations: 3.579 MB / 0.6941 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002307/0.5348, allocations: 11.88 kB / 0.6941 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0005679/0.5354, allocations: 147.4 kB / 0.6942 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0009661/0.5363, allocations: 366.8 kB / 0.6946 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00144/0.5378, allocations: 0.5728 MB / 0.6951 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004542/0.5383, allocations: 343.8 kB / 0.6955 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003265/0.5386, allocations: 169.3 kB / 0.6956 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008364/0.5394, allocations: 331 kB / 0.6959 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005555/0.54, allocations: 223.3 kB / 0.6961 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.087e-05/0.5401, allocations: 8 kB / 0.6962 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001112/0.5412, allocations: 435.3 kB / 0.6966 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.5413, allocations: 75.78 kB / 0.6966 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.655e-05/0.5414, allocations: 69.58 kB / 0.6967 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0005731/0.542, allocations: 361.2 kB / 0.6971 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.542, allocations: 0 / 0.6971 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.976e-06/0.542, allocations: 3.938 kB / 0.6971 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.542, allocations: 0 / 0.6971 GB, free: 10.43 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001001/0.543, allocations: 0.5361 MB / 0.6976 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/0.5431, allocations: 12.03 kB / 0.6976 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007239/0.5438, allocations: 79.55 kB / 0.6977 GB, free: 9.758 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000438/0.5442, allocations: 263.6 kB / 0.6979 GB, free: 9.461 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.5443, allocations: 12 kB / 0.6979 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.751e-05/0.5443, allocations: 27.98 kB / 0.698 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004985/0.5448, allocations: 288.1 kB / 0.6982 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.5449, allocations: 4 kB / 0.6982 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.378e-05/0.5449, allocations: 11.98 kB / 0.6982 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.5449, allocations: 4 kB / 0.6983 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004331/0.5453, allocations: 219.5 kB / 0.6985 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001467/0.5468, allocations: 1.257 MB / 0.6997 GB, free: 7.539 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002957/0.5471, allocations: 192.9 kB / 0.6999 GB, free: 7.305 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000378/0.5475, allocations: 141 kB / 0.7 GB, free: 7.148 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.5476, allocations: 42.73 kB / 0.7 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=13): time 1.993e-06/0.5476, allocations: 3.938 kB / 0.7001 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13): time 0.0008206/0.5484, allocations: 317.6 kB / 0.7004 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.619e-05/0.5485, allocations: 170.1 kB / 0.7005 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002902/0.5488, allocations: 294.8 kB / 0.7008 GB, free: 6.285 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.117e-05/0.5488, allocations: 25.7 kB / 0.7008 GB, free: 6.254 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.549, allocations: 139.9 kB / 0.701 GB, free: 6.113 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.548e-05/0.549, allocations: 51.3 kB / 0.701 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.097e-05/0.549, allocations: 4 kB / 0.701 GB, free: 6.059 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.5492, allocations: 330.8 kB / 0.7013 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001805/0.5493, allocations: 83.94 kB / 0.7014 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002407/0.5496, allocations: 164.5 kB / 0.7016 GB, free: 5.453 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002021/0.5498, allocations: 99.86 kB / 0.7017 GB, free: 5.355 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.5498, allocations: 4 kB / 0.7017 GB, free: 5.352 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005337/0.5504, allocations: 273.1 kB / 0.7019 GB, free: 5.078 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.5504, allocations: 12.25 kB / 0.7019 GB, free: 5.066 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.5504, allocations: 7.922 kB / 0.7019 GB, free: 5.059 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.5504, allocations: 4 kB / 0.7019 GB, free: 5.055 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/0.5506, allocations: 43.92 kB / 0.702 GB, free: 5.012 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.5507, allocations: 4 kB / 0.702 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000202/0.5509, allocations: 27.73 kB / 0.702 GB, free: 4.98 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.25e-05/0.5509, allocations: 23.94 kB / 0.702 GB, free: 4.957 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 18 * 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.0001455/0.5511, allocations: 149.8 kB / 0.7022 GB, free: 4.801 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/0.5512, allocations: 31.69 kB / 0.7022 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005612/0.5518, allocations: 225.8 kB / 0.7024 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.5518, allocations: 0 / 0.7024 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.5518, allocations: 4 kB / 0.7024 GB, free: 4.535 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/0.5518, allocations: 3.984 kB / 0.7024 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.5529, allocations: 0.9327 MB / 0.7033 GB, free: 3.527 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.5529, allocations: 0 / 0.7033 GB, free: 3.527 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001556/0.5531, allocations: 27.98 kB / 0.7034 GB, free: 3.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.5531, allocations: 4 kB / 0.7034 GB, free: 3.496 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.5531, allocations: 4 kB / 0.7034 GB, free: 3.492 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.749e-06/0.5531, allocations: 11.89 kB / 0.7034 GB, free: 3.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.5531, allocations: 0 / 0.7034 GB, free: 3.48 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000694/0.5538, allocations: 496 kB / 0.7039 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.165e-05/0.5539, allocations: 108.8 kB / 0.704 GB, free: 2.809 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.18e-05/0.554, allocations: 4.062 kB / 0.704 GB, free: 2.805 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001742/0.5542, allocations: 15.98 kB / 0.704 GB, free: 2.789 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.045e-05/0.5542, allocations: 19.94 kB / 0.704 GB, free: 2.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.5542, allocations: 4 kB / 0.704 GB, free: 2.766 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002263/0.5545, allocations: 221.9 kB / 0.7042 GB, free: 2.551 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5545, allocations: 0 / 0.7042 GB, free: 2.551 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004965/0.555, allocations: 95.84 kB / 0.7043 GB, free: 2.457 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * 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 (12): * Single equations (assignments): 12 * 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.0004938/0.5555, allocations: 196.8 kB / 0.7045 GB, free: 2.27 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004397/0.5559, allocations: 188 kB / 0.7047 GB, free: 2.086 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.556, allocations: 3.938 kB / 0.7047 GB, free: 2.082 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001811/0.5561, allocations: 91.88 kB / 0.7048 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007214/0.5569, allocations: 129.3 kB / 0.7049 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008227/0.5577, allocations: 0.591 MB / 0.7055 GB, free: 1.23 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.558, allocations: 0.7599 MB / 0.7062 GB, free: 456 kB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002168/0.5582, allocations: 67.42 kB / 0.7063 GB, free: 392 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.259e-05/0.5583, allocations: 23.44 kB / 0.7063 GB, free: 368 kB / 0.5137 GB Notification: Performance of SimCode: time 1.333e-06/0.5583, allocations: 0 / 0.7063 GB, free: 368 kB / 0.5137 GB Notification: Performance of Templates: time 0.009405/0.5677, allocations: 5.491 MB / 0.7117 GB, free: 10.95 MB / 0.5294 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)