Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.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.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 92.95 kB / 16.02 MB, free: 84 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.00131/0.00131, allocations: 182.9 kB / 16.92 MB, free: 6.934 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.417/1.417, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6843/0.6843, allocations: 115.5 MB / 407.6 MB, free: 2.672 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003552/0.0003552, allocations: 11.98 kB / 495.9 MB, free: 6.336 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1731, allocations: 77.53 MB / 0.5599 GB, free: 9.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5597/0.7329, allocations: 165 MB / 0.7211 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.009772/0.7427, allocations: 7.1 MB / 0.728 GB, free: 10.65 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005637/0.7433, allocations: 11.94 kB / 0.728 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005214/0.7438, allocations: 127.1 kB / 0.7281 GB, free: 10.52 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002733/0.7466, allocations: 1.195 MB / 0.7293 GB, free: 9.316 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001491/0.7481, allocations: 0.5761 MB / 0.7299 GB, free: 8.746 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001075/0.7492, allocations: 1.057 MB / 0.7309 GB, free: 7.688 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004036/0.7496, allocations: 249.9 kB / 0.7311 GB, free: 7.441 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00114/0.7507, allocations: 0.5137 MB / 0.7316 GB, free: 6.926 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007684/0.7515, allocations: 422.5 kB / 0.732 GB, free: 6.512 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.204e-05/0.7516, allocations: 16 kB / 0.7321 GB, free: 6.496 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002378/0.754, allocations: 1.469 MB / 0.7335 GB, free: 5.023 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.7541, allocations: 103.6 kB / 0.7336 GB, free: 4.922 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001954/0.7543, allocations: 188.8 kB / 0.7338 GB, free: 4.73 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001334/0.7556, allocations: 0.9776 MB / 0.7347 GB, free: 3.75 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.7557, allocations: 0 / 0.7347 GB, free: 3.75 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7557, allocations: 0 / 0.7347 GB, free: 3.75 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.7557, allocations: 0 / 0.7347 GB, free: 3.75 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0009013/0.7566, allocations: 0.6318 MB / 0.7353 GB, free: 3.07 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.7566, allocations: 15.97 kB / 0.7354 GB, free: 3.055 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009548/0.7576, allocations: 123.4 kB / 0.7355 GB, free: 2.934 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003985/0.758, allocations: 329.1 kB / 0.7358 GB, free: 2.57 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.976e-05/0.7581, allocations: 50.27 kB / 0.7358 GB, free: 2.516 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.285e-05/0.7581, allocations: 28 kB / 0.7359 GB, free: 2.488 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006738/0.7588, allocations: 378.1 kB / 0.7362 GB, free: 2.102 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.7589, allocations: 0 / 0.7362 GB, free: 2.102 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.419e-05/0.7589, allocations: 16 kB / 0.7362 GB, free: 2.086 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.7589, allocations: 7.984 kB / 0.7363 GB, free: 2.078 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005456/0.7595, allocations: 286 kB / 0.7365 GB, free: 1.797 MB / 0.545 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001927/0.7614, allocations: 1.5 MB / 0.738 GB, free: 176 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004213/0.7618, allocations: 202.5 kB / 0.7382 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002169/0.7621, allocations: 120.8 kB / 0.7383 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001047/0.7631, allocations: 0.517 MB / 0.7388 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.7632, allocations: 34.5 kB / 0.7388 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.463e-06/0.7632, allocations: 0 / 0.7388 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0009631/0.7641, allocations: 383 kB / 0.7392 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.7642, allocations: 51.41 kB / 0.7392 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003231/0.7645, allocations: 312.5 kB / 0.7395 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.219e-05/0.7646, allocations: 33.7 kB / 0.7396 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.7647, allocations: 188 kB / 0.7398 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.615e-05/0.7648, allocations: 51.2 kB / 0.7398 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.383e-05/0.7648, allocations: 25.7 kB / 0.7398 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.7649, allocations: 334.8 kB / 0.7402 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002047/0.7652, allocations: 91.94 kB / 0.7402 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002356/0.7654, allocations: 161.8 kB / 0.7404 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004341/0.7658, allocations: 253.8 kB / 0.7406 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.7659, allocations: 0 / 0.7406 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005759/0.7664, allocations: 289.1 kB / 0.7409 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.7665, allocations: 7.984 kB / 0.7409 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.7665, allocations: 4.188 kB / 0.7409 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.7665, allocations: 4 kB / 0.7409 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000223/0.7667, allocations: 43.98 kB / 0.741 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.406e-05/0.7668, allocations: 3.984 kB / 0.741 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002365/0.767, allocations: 51.59 kB / 0.741 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.485e-05/0.767, allocations: 8 kB / 0.741 GB, free: 12.84 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 20 * 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.000167/0.7672, allocations: 157.8 kB / 0.7412 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.7673, allocations: 27.62 kB / 0.7412 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007452/0.7681, allocations: 329.5 kB / 0.7415 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.7681, allocations: 4 kB / 0.7415 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.7681, allocations: 0 / 0.7415 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.7681, allocations: 5.297 kB / 0.7415 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001251/0.7694, allocations: 0.816 MB / 0.7423 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.7694, allocations: 0 / 0.7423 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001763/0.7696, allocations: 40.2 kB / 0.7424 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.7696, allocations: 4.094 kB / 0.7424 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/0.7696, allocations: 11.88 kB / 0.7424 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.7696, allocations: 4 kB / 0.7424 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.7696, allocations: 3.938 kB / 0.7424 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006157/0.7702, allocations: 413 kB / 0.7428 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001352/0.7704, allocations: 132.7 kB / 0.7429 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.555e-05/0.7704, allocations: 15.94 kB / 0.7429 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002655/0.7707, allocations: 27.88 kB / 0.7429 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.038e-05/0.7708, allocations: 19.98 kB / 0.743 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.262e-05/0.7708, allocations: 8 kB / 0.743 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000213/0.771, allocations: 227 kB / 0.7432 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.771, allocations: 0 / 0.7432 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005124/0.7716, allocations: 123.8 kB / 0.7433 GB, free: 10.36 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (16): * Single equations (assignments): 16 * 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.0005564/0.7721, allocations: 239.4 kB / 0.7435 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004971/0.7726, allocations: 227.7 kB / 0.7438 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.7726, allocations: 4 kB / 0.7438 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000237/0.7729, allocations: 124.6 kB / 0.7439 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009447/0.7738, allocations: 155.2 kB / 0.744 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.775, allocations: 0.7158 MB / 0.7447 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003688/0.7754, allocations: 0.7836 MB / 0.7455 GB, free: 8.051 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003102/0.7757, allocations: 86.86 kB / 0.7456 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.7e-05/0.7758, allocations: 27.42 kB / 0.7456 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of SimCode: time 3.2e-07/0.7758, allocations: 0 / 0.7456 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of Templates: time 0.0125/0.7883, allocations: 6.948 MB / 0.7524 GB, free: 1.094 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)