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.000907/0.000907, allocations: 93.59 kB / 16.66 MB, free: 5.859 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.001024/0.001024, allocations: 176.7 kB / 17.57 MB, free: 5.543 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.326/1.326, allocations: 223.3 MB / 241.6 MB, free: 188 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7003/0.7003, allocations: 115.5 MB / 408.2 MB, free: 7.043 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003407/0.0003407, allocations: 12 kB / 496.5 MB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3901/0.3905, allocations: 77.51 MB / 0.5606 GB, free: 36.21 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1812/0.5717, allocations: 165 MB / 0.7217 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009223/0.581, allocations: 7.107 MB / 0.7287 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000584/0.5816, allocations: 7.938 kB / 0.7287 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006776/0.5823, allocations: 139.1 kB / 0.7288 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003402/0.5857, allocations: 1.187 MB / 0.73 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001741/0.5875, allocations: 0.569 MB / 0.7305 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001376/0.5889, allocations: 1.057 MB / 0.7315 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005574/0.5895, allocations: 242.1 kB / 0.7318 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001414/0.5909, allocations: 0.5292 MB / 0.7323 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001003/0.5919, allocations: 414.5 kB / 0.7327 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001043/0.592, allocations: 16 kB / 0.7327 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002673/0.5947, allocations: 1.473 MB / 0.7341 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001944/0.5949, allocations: 103.7 kB / 0.7342 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003136/0.5953, allocations: 192.8 kB / 0.7344 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00118/0.5964, allocations: 0.6236 MB / 0.735 GB, free: 180 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.5965, allocations: 0 / 0.735 GB, free: 180 kB / 0.5606 GB Notification: Performance of FrontEnd: time 5.24e-06/0.5965, allocations: 4 kB / 0.735 GB, free: 176 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.433e-05/0.5965, allocations: 0 / 0.735 GB, free: 176 kB / 0.5606 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.001196/0.5977, allocations: 0.6272 MB / 0.7357 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.5978, allocations: 15.97 kB / 0.7357 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001107/0.5989, allocations: 131.3 kB / 0.7358 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005098/0.5994, allocations: 325.1 kB / 0.7361 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.357e-05/0.5995, allocations: 54.25 kB / 0.7362 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.686e-05/0.5995, allocations: 24 kB / 0.7362 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007179/0.6003, allocations: 374.2 kB / 0.7365 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.6003, allocations: 3.938 kB / 0.7365 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.61e-05/0.6003, allocations: 12 kB / 0.7365 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.6004, allocations: 8 kB / 0.7366 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005502/0.6009, allocations: 290 kB / 0.7368 GB, free: 14.21 MB / 0.5762 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.001994/0.6029, allocations: 1.496 MB / 0.7383 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004045/0.6033, allocations: 198.5 kB / 0.7385 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002269/0.6036, allocations: 124.8 kB / 0.7386 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00104/0.6046, allocations: 0.5131 MB / 0.7391 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.6047, allocations: 38.56 kB / 0.7391 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 2.104e-06/0.6047, allocations: 0 / 0.7391 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.001012/0.6057, allocations: 377 kB / 0.7395 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.6057, allocations: 55.34 kB / 0.7396 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003377/0.6061, allocations: 312.5 kB / 0.7399 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.772e-05/0.6061, allocations: 33.7 kB / 0.7399 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.6063, allocations: 184 kB / 0.7401 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.858e-05/0.6063, allocations: 59.19 kB / 0.7401 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.974e-05/0.6064, allocations: 25.64 kB / 0.7401 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.6065, allocations: 342.8 kB / 0.7405 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001983/0.6067, allocations: 91.92 kB / 0.7406 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002459/0.607, allocations: 155.6 kB / 0.7407 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004353/0.6074, allocations: 252.6 kB / 0.7409 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.6075, allocations: 0 / 0.7409 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006501/0.6081, allocations: 289.2 kB / 0.7412 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.6081, allocations: 4 kB / 0.7412 GB, free: 9.383 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.6082, allocations: 4 kB / 0.7412 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.6082, allocations: 4 kB / 0.7412 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000241/0.6084, allocations: 47.91 kB / 0.7413 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.6084, allocations: 4 kB / 0.7413 GB, free: 9.324 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002783/0.6087, allocations: 43.8 kB / 0.7413 GB, free: 9.281 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.267e-05/0.6088, allocations: 8 kB / 0.7413 GB, free: 9.273 MB / 0.5762 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.0001806/0.609, allocations: 157.7 kB / 0.7415 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/0.6091, allocations: 27.62 kB / 0.7415 GB, free: 9.082 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007713/0.6099, allocations: 329.9 kB / 0.7418 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.754e-06/0.6099, allocations: 4.047 kB / 0.7418 GB, free: 8.754 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.6099, allocations: 3.984 kB / 0.7418 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.6099, allocations: 0 / 0.7418 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001408/0.6113, allocations: 0.8238 MB / 0.7426 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.752e-06/0.6113, allocations: 4 kB / 0.7426 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001845/0.6115, allocations: 39.91 kB / 0.7427 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.6115, allocations: 3.938 kB / 0.7427 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.6116, allocations: 8 kB / 0.7427 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.6116, allocations: 4 kB / 0.7427 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.6116, allocations: 4 kB / 0.7427 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006573/0.6123, allocations: 417.1 kB / 0.7431 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001721/0.6124, allocations: 128.8 kB / 0.7432 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.688e-05/0.6125, allocations: 11.94 kB / 0.7432 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002838/0.6128, allocations: 27.89 kB / 0.7433 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.558e-05/0.6129, allocations: 15.98 kB / 0.7433 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.014e-05/0.6129, allocations: 11.98 kB / 0.7433 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002322/0.6131, allocations: 227 kB / 0.7435 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.865e-06/0.6131, allocations: 3.938 kB / 0.7435 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000579/0.6137, allocations: 123.7 kB / 0.7436 GB, free: 6.781 MB / 0.5762 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.0006607/0.6144, allocations: 221.2 kB / 0.7438 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005282/0.6149, allocations: 235.2 kB / 0.7441 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.615, allocations: 0 / 0.7441 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002352/0.6152, allocations: 123.8 kB / 0.7442 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009992/0.6162, allocations: 163.2 kB / 0.7443 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.6174, allocations: 0.7484 MB / 0.7451 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/0.6178, allocations: 0.7836 MB / 0.7458 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.6179, allocations: 35.38 kB / 0.7459 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of SimCode: time 5.51e-07/0.6179, allocations: 0 / 0.7459 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of Templates: time 0.3412/0.9591, allocations: 6.193 MB / 0.7519 GB, free: 18.51 MB / 0.5762 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)