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.008442/0.008442, allocations: 101.7 kB / 15.88 MB, free: 6.312 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.001995/0.001995, allocations: 198.7 kB / 16.79 MB, free: 6.242 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.415/1.415, allocations: 222.9 MB / 240.5 MB, free: 13.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7751/0.7751, allocations: 122.9 MB / 413.5 MB, free: 140 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 67.89 kB / 0.4904 GB, free: 7.902 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.419/0.4202, allocations: 77.91 MB / 0.5665 GB, free: 31.91 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.SpecificEntropy): time 0.1895/0.6098, allocations: 161 MB / 0.7237 GB, free: 9.551 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006445/0.6163, allocations: 4.622 MB / 0.7282 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004676/0.6168, allocations: 11.94 kB / 0.7282 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004827/0.6173, allocations: 107.3 kB / 0.7283 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001524/0.6188, allocations: 0.5136 MB / 0.7288 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002197/0.621, allocations: 0.6985 MB / 0.7295 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009313/0.622, allocations: 0.8069 MB / 0.7303 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003231/0.6223, allocations: 185.4 kB / 0.7305 GB, free: 2.605 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009729/0.6233, allocations: 422.4 kB / 0.7309 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005943/0.6239, allocations: 298.9 kB / 0.7312 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.623e-05/0.6239, allocations: 12 kB / 0.7312 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002174/0.6261, allocations: 1.169 MB / 0.7323 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.6263, allocations: 79.78 kB / 0.7324 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001414/0.6264, allocations: 123.4 kB / 0.7325 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001313/0.6277, allocations: 0.7712 MB / 0.7333 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.6277, allocations: 4 kB / 0.7333 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6278, allocations: 0 / 0.7333 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.6278, allocations: 0 / 0.7333 GB, free: 15.74 MB / 0.5762 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.001072/0.6288, allocations: 0.5919 MB / 0.7339 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.6289, allocations: 8.031 kB / 0.7339 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007005/0.6296, allocations: 87.47 kB / 0.7339 GB, free: 15 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004157/0.63, allocations: 287.3 kB / 0.7342 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.863e-05/0.6301, allocations: 16 kB / 0.7342 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.882e-05/0.6301, allocations: 16 kB / 0.7343 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005501/0.6307, allocations: 291.4 kB / 0.7345 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.6307, allocations: 0 / 0.7345 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.027e-05/0.6307, allocations: 8 kB / 0.7345 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.231e-05/0.6308, allocations: 11.94 kB / 0.7345 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004458/0.6312, allocations: 207.5 kB / 0.7347 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001811/0.633, allocations: 1.238 MB / 0.736 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003438/0.6334, allocations: 172.9 kB / 0.7361 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002171/0.6336, allocations: 116.2 kB / 0.7362 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009543/0.6346, allocations: 335.2 kB / 0.7366 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.084e-05/0.6347, allocations: 50.61 kB / 0.7366 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.713e-06/0.6347, allocations: 0 / 0.7366 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0008125/0.6355, allocations: 277.2 kB / 0.7369 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001369/0.6356, allocations: 162.2 kB / 0.737 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003577/0.636, allocations: 279 kB / 0.7373 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.372e-05/0.636, allocations: 29.7 kB / 0.7373 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001854/0.6362, allocations: 152.2 kB / 0.7375 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.717e-05/0.6363, allocations: 51.31 kB / 0.7375 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.656e-05/0.6364, allocations: 37.7 kB / 0.7375 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002411/0.6366, allocations: 342.8 kB / 0.7379 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001745/0.6368, allocations: 67.94 kB / 0.7379 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002459/0.6371, allocations: 144.5 kB / 0.7381 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003811/0.6375, allocations: 211.5 kB / 0.7383 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.6375, allocations: 0 / 0.7383 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005876/0.6381, allocations: 249.2 kB / 0.7385 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.6381, allocations: 4 kB / 0.7385 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.6381, allocations: 4 kB / 0.7385 GB, free: 9.906 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.771e-05/0.6381, allocations: 4 kB / 0.7385 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002016/0.6384, allocations: 39.97 kB / 0.7386 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-05/0.6384, allocations: 7.938 kB / 0.7386 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002322/0.6386, allocations: 23.73 kB / 0.7386 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.195e-05/0.6387, allocations: 20.06 kB / 0.7386 GB, free: 9.812 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001539/0.6388, allocations: 141.8 kB / 0.7387 GB, free: 9.664 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001562/0.639, allocations: 31.7 kB / 0.7388 GB, free: 9.633 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000492/0.6395, allocations: 190.1 kB / 0.739 GB, free: 9.43 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.6395, allocations: 4 kB / 0.739 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.6395, allocations: 0 / 0.739 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.6395, allocations: 4 kB / 0.739 GB, free: 9.422 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001129/0.6407, allocations: 0.8509 MB / 0.7398 GB, free: 8.496 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.6407, allocations: 4 kB / 0.7398 GB, free: 8.492 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/0.6408, allocations: 19.98 kB / 0.7398 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/0.6408, allocations: 3.938 kB / 0.7398 GB, free: 8.469 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/0.6408, allocations: 11.98 kB / 0.7398 GB, free: 8.457 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.099e-06/0.6409, allocations: 8.156 kB / 0.7398 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.6409, allocations: 3.938 kB / 0.7398 GB, free: 8.445 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005852/0.6415, allocations: 335.3 kB / 0.7402 GB, free: 8.086 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.6416, allocations: 116.7 kB / 0.7403 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.07e-05/0.6416, allocations: 8 kB / 0.7403 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.6418, allocations: 7.984 kB / 0.7403 GB, free: 7.938 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.909e-05/0.6419, allocations: 12 kB / 0.7403 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.057e-05/0.6419, allocations: 7.984 kB / 0.7403 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002424/0.6421, allocations: 234 kB / 0.7405 GB, free: 7.691 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6421, allocations: 0 / 0.7405 GB, free: 7.691 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005745/0.6427, allocations: 96.09 kB / 0.7406 GB, free: 7.598 MB / 0.5762 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 (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.0006735/0.6434, allocations: 226.8 kB / 0.7408 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004503/0.6439, allocations: 139.8 kB / 0.741 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.6439, allocations: 0 / 0.741 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001744/0.6441, allocations: 68.7 kB / 0.741 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008395/0.6449, allocations: 131.5 kB / 0.7412 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009933/0.6459, allocations: 0.5522 MB / 0.7417 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003884/0.6463, allocations: 0.7637 MB / 0.7425 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002211/0.6465, allocations: 71.09 kB / 0.7425 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.258e-05/0.6466, allocations: 27.44 kB / 0.7425 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of SimCode: time 2.2e-07/0.6466, allocations: 0 / 0.7425 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of Templates: time 0.01166/0.6583, allocations: 5.57 MB / 0.748 GB, free: 76 kB / 0.5762 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)