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.001069/0.001069, allocations: 107.9 kB / 16.27 MB, free: 6.055 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.001092/0.001092, allocations: 191.7 kB / 17.2 MB, free: 5.684 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.318/1.318, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7405/0.7405, allocations: 122.9 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00216/0.00216, allocations: 63.89 kB / 0.4911 GB, free: 7.422 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4246/0.4268, allocations: 77.93 MB / 0.5672 GB, free: 32.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.SpecificEntropy): time 0.171/0.5978, allocations: 163.2 MB / 0.7266 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005495/0.6033, allocations: 4.585 MB / 0.7311 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003947/0.6038, allocations: 11.94 kB / 0.7311 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004995/0.6043, allocations: 119 kB / 0.7312 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001363/0.6057, allocations: 0.5406 MB / 0.7317 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001756/0.6075, allocations: 0.7687 MB / 0.7325 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006209/0.6081, allocations: 0.5768 MB / 0.733 GB, free: 440 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003319/0.6085, allocations: 217.1 kB / 0.7332 GB, free: 224 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009471/0.6094, allocations: 466.2 kB / 0.7337 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005941/0.61, allocations: 283 kB / 0.734 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.356e-05/0.6101, allocations: 20 kB / 0.734 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001816/0.6119, allocations: 1.002 MB / 0.7349 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.612, allocations: 91.7 kB / 0.735 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.6122, allocations: 127.4 kB / 0.7352 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001039/0.6132, allocations: 0.7091 MB / 0.7358 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.6132, allocations: 0 / 0.7358 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6132, allocations: 0 / 0.7358 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.6132, allocations: 0 / 0.7358 GB, free: 13.54 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.0008648/0.6141, allocations: 0.5958 MB / 0.7364 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.6142, allocations: 12.03 kB / 0.7364 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006599/0.6148, allocations: 75.5 kB / 0.7365 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003524/0.6152, allocations: 287.3 kB / 0.7368 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.6152, allocations: 15.98 kB / 0.7368 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.561e-05/0.6153, allocations: 24 kB / 0.7368 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000568/0.6158, allocations: 287.4 kB / 0.7371 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.6159, allocations: 0 / 0.7371 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.243e-05/0.6159, allocations: 4 kB / 0.7371 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.6159, allocations: 11.94 kB / 0.7371 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004221/0.6163, allocations: 211.5 kB / 0.7373 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001696/0.618, allocations: 1.242 MB / 0.7385 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002877/0.6183, allocations: 173 kB / 0.7387 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00022/0.6186, allocations: 116.2 kB / 0.7388 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007771/0.6194, allocations: 331.2 kB / 0.7391 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.064e-05/0.6194, allocations: 38.69 kB / 0.7392 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 2.245e-06/0.6194, allocations: 0 / 0.7392 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0007998/0.6203, allocations: 285.5 kB / 0.7394 GB, free: 9.539 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.447e-05/0.6203, allocations: 158.2 kB / 0.7396 GB, free: 9.348 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002833/0.6206, allocations: 287 kB / 0.7399 GB, free: 9.059 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.6207, allocations: 25.7 kB / 0.7399 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.6208, allocations: 147.8 kB / 0.74 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.372e-05/0.6208, allocations: 55.28 kB / 0.7401 GB, free: 8.824 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.873e-05/0.6209, allocations: 41.7 kB / 0.7401 GB, free: 8.777 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.621, allocations: 338.8 kB / 0.7404 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000199/0.6212, allocations: 67.94 kB / 0.7405 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002275/0.6215, allocations: 144.5 kB / 0.7406 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004362/0.6219, allocations: 215.5 kB / 0.7408 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.6219, allocations: 3.938 kB / 0.7408 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005189/0.6225, allocations: 241.1 kB / 0.7411 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.6225, allocations: 4 kB / 0.7411 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.6225, allocations: 12.23 kB / 0.7411 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.6225, allocations: 0 / 0.7411 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001959/0.6227, allocations: 35.98 kB / 0.7411 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.6227, allocations: 3.938 kB / 0.7411 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002059/0.623, allocations: 31.73 kB / 0.7412 GB, free: 7.629 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.258e-05/0.623, allocations: 11.94 kB / 0.7412 GB, free: 7.617 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.0001625/0.6232, allocations: 149.8 kB / 0.7413 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/0.6233, allocations: 23.72 kB / 0.7413 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006425/0.624, allocations: 198.1 kB / 0.7415 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.624, allocations: 7.984 kB / 0.7415 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.624, allocations: 0 / 0.7415 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.624, allocations: 0 / 0.7415 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.6251, allocations: 0.8548 MB / 0.7424 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.6251, allocations: 0 / 0.7424 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001256/0.6253, allocations: 27.98 kB / 0.7424 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.6253, allocations: 3.938 kB / 0.7424 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.6253, allocations: 4 kB / 0.7424 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.6253, allocations: 0 / 0.7424 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.6253, allocations: 7.938 kB / 0.7424 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005945/0.6259, allocations: 335.5 kB / 0.7427 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.626, allocations: 116.7 kB / 0.7428 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.32e-05/0.6261, allocations: 8.062 kB / 0.7429 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.6263, allocations: 11.98 kB / 0.7429 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.153e-05/0.6263, allocations: 7.984 kB / 0.7429 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.6263, allocations: 4 kB / 0.7429 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002481/0.6266, allocations: 237.9 kB / 0.7431 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6266, allocations: 0 / 0.7431 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005435/0.6271, allocations: 88 kB / 0.7432 GB, free: 5.41 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.0005941/0.6277, allocations: 231.8 kB / 0.7434 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000439/0.6282, allocations: 164 kB / 0.7436 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.6282, allocations: 0 / 0.7436 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001474/0.6284, allocations: 55.91 kB / 0.7436 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007935/0.6292, allocations: 134.3 kB / 0.7437 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00084/0.63, allocations: 0.4996 MB / 0.7442 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/0.6303, allocations: 0.7635 MB / 0.745 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001897/0.6305, allocations: 61.08 kB / 0.745 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.624e-05/0.6306, allocations: 35.42 kB / 0.7451 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of SimCode: time 2.6e-07/0.6306, allocations: 0 / 0.7451 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of Templates: time 0.2751/0.9057, allocations: 5.784 MB / 0.7507 GB, free: 171.2 MB / 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)