Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.006399/0.006399, allocations: 102.7 kB / 15.73 MB, free: 5.539 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.001461/0.001461, allocations: 193.2 kB / 16.67 MB, free: 5.469 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002265/0.002265, allocations: 290.7 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.933/0.933, allocations: 169.3 MB / 0.4983 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001669/0.001669, allocations: 96.09 kB / 0.6815 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4042/0.4059, allocations: 86.99 MB / 0.7664 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1693/0.5752, allocations: 169.4 MB / 0.9319 GB, free: 9.848 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.007963/0.5832, allocations: 7.126 MB / 0.9388 GB, free: 2.703 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003682/0.5836, allocations: 11.94 kB / 0.9388 GB, free: 2.691 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0005027/0.5841, allocations: 178.6 kB / 0.939 GB, free: 2.516 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.002957/0.5871, allocations: 1.268 MB / 0.9402 GB, free: 1.242 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001561/0.5887, allocations: 0.6237 MB / 0.9408 GB, free: 0.6211 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0007989/0.5895, allocations: 0.7524 MB / 0.9416 GB, free: 15.87 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004235/0.5899, allocations: 301.3 kB / 0.9419 GB, free: 15.58 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001028/0.591, allocations: 0.5643 MB / 0.9424 GB, free: 15.01 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007515/0.5917, allocations: 434.5 kB / 0.9428 GB, free: 14.59 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.151e-05/0.5918, allocations: 24 kB / 0.9429 GB, free: 14.56 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001858/0.5937, allocations: 1.243 MB / 0.9441 GB, free: 13.32 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.5938, allocations: 119.6 kB / 0.9442 GB, free: 13.2 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001603/0.594, allocations: 175.1 kB / 0.9444 GB, free: 13.03 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001198/0.5952, allocations: 0.9194 MB / 0.9453 GB, free: 12.11 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.5952, allocations: 0 / 0.9453 GB, free: 12.11 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5952, allocations: 0 / 0.9453 GB, free: 12.11 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.063e-05/0.5952, allocations: 4 kB / 0.9453 GB, free: 12.1 MB / 0.7169 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.0008961/0.5961, allocations: 0.6935 MB / 0.9459 GB, free: 11.36 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.5961, allocations: 8.031 kB / 0.9459 GB, free: 11.35 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009927/0.5971, allocations: 127.4 kB / 0.9461 GB, free: 11.23 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004837/0.5976, allocations: 353 kB / 0.9464 GB, free: 10.84 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.896e-05/0.5977, allocations: 46.27 kB / 0.9464 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.714e-05/0.5978, allocations: 24 kB / 0.9465 GB, free: 10.77 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006205/0.5984, allocations: 374.1 kB / 0.9468 GB, free: 10.38 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.5984, allocations: 0 / 0.9468 GB, free: 10.38 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.06e-05/0.5984, allocations: 8 kB / 0.9468 GB, free: 10.38 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.5985, allocations: 11.98 kB / 0.9468 GB, free: 10.36 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005183/0.599, allocations: 270 kB / 0.9471 GB, free: 10.1 MB / 0.7169 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.001771/0.6008, allocations: 1.492 MB / 0.9486 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003865/0.6012, allocations: 194.6 kB / 0.9487 GB, free: 8.281 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002062/0.6014, allocations: 119.9 kB / 0.9489 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009104/0.6023, allocations: 0.5014 MB / 0.9493 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.6023, allocations: 34.56 kB / 0.9494 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/0.6023, allocations: 0 / 0.9494 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0008976/0.6032, allocations: 357.1 kB / 0.9497 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.6033, allocations: 55.41 kB / 0.9498 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002915/0.6036, allocations: 320.5 kB / 0.9501 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.6036, allocations: 25.7 kB / 0.9501 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.6037, allocations: 188.1 kB / 0.9503 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.174e-05/0.6038, allocations: 55.27 kB / 0.9503 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.789e-05/0.6039, allocations: 41.7 kB / 0.9504 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.604, allocations: 346.7 kB / 0.9507 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001858/0.6042, allocations: 79.94 kB / 0.9508 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002283/0.6044, allocations: 152.2 kB / 0.9509 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003994/0.6048, allocations: 239.8 kB / 0.9512 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.6049, allocations: 4 kB / 0.9512 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005586/0.6054, allocations: 281 kB / 0.9514 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.6054, allocations: 8 kB / 0.9514 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.6055, allocations: 0 / 0.9514 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.6055, allocations: 4.188 kB / 0.9514 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002245/0.6057, allocations: 47.91 kB / 0.9515 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.6057, allocations: 0 / 0.9515 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001989/0.6059, allocations: 35.67 kB / 0.9515 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.536e-05/0.606, allocations: 15.94 kB / 0.9515 GB, free: 5.223 MB / 0.7169 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.0001416/0.6061, allocations: 153.7 kB / 0.9517 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/0.6062, allocations: 31.61 kB / 0.9517 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006708/0.6069, allocations: 324.1 kB / 0.952 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.6069, allocations: 0 / 0.952 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.6069, allocations: 0 / 0.952 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.6069, allocations: 4 kB / 0.952 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/0.6082, allocations: 0.8005 MB / 0.9528 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.6082, allocations: 4 kB / 0.9528 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001775/0.6083, allocations: 31.92 kB / 0.9528 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.6084, allocations: 4 kB / 0.9528 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/0.6084, allocations: 16.14 kB / 0.9529 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.6084, allocations: 8 kB / 0.9529 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.6084, allocations: 0 / 0.9529 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005531/0.609, allocations: 396.9 kB / 0.9532 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.6091, allocations: 132.7 kB / 0.9534 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.757e-05/0.6091, allocations: 11.92 kB / 0.9534 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002319/0.6094, allocations: 15.98 kB / 0.9534 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.028e-05/0.6095, allocations: 19.92 kB / 0.9534 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.467e-05/0.6095, allocations: 12 kB / 0.9534 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002014/0.6097, allocations: 227 kB / 0.9536 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.913e-06/0.6097, allocations: 0 / 0.9536 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004878/0.6102, allocations: 123.7 kB / 0.9538 GB, free: 2.785 MB / 0.7169 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.0005176/0.6107, allocations: 233.7 kB / 0.954 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005167/0.6112, allocations: 223.7 kB / 0.9542 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.6113, allocations: 0 / 0.9542 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000236/0.6115, allocations: 124.6 kB / 0.9543 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008481/0.6124, allocations: 161.8 kB / 0.9545 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.6134, allocations: 0.597 MB / 0.9551 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/0.6138, allocations: 0.7834 MB / 0.9558 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002389/0.614, allocations: 90.8 kB / 0.9559 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.366e-05/0.6141, allocations: 35.38 kB / 0.9559 GB, free: 500 kB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.6141, allocations: 0 / 0.9559 GB, free: 500 kB / 0.7169 GB Notification: Performance of Templates: time 0.3229/0.937, allocations: 7.301 MB / 0.9631 GB, free: 189.8 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)