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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001764/0.001764, allocations: 177.4 kB / 23.36 MB, free: 1.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9318/0.9318, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001648/0.001648, allocations: 242.8 kB / 260.5 MB, free: 12.7 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7449/0.7449, allocations: 138.4 MB / 402.2 MB, free: 0.5664 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 462.3 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.009e-05/2.152e-05, allocations: 4.172 kB / 462.3 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1327/0.1327, allocations: 146.1 MB / 0.5942 GB, free: 308 kB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.003331/0.136, allocations: 2.313 MB / 0.5964 GB, free: 13.98 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003162/0.1364, allocations: 19.81 kB / 0.5965 GB, free: 13.96 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0003099/0.1367, allocations: 87.27 kB / 0.5965 GB, free: 13.88 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001373/0.138, allocations: 0.6761 MB / 0.5972 GB, free: 13.2 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009764/0.139, allocations: 0.5122 MB / 0.5977 GB, free: 12.69 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0008161/0.1398, allocations: 0.7522 MB / 0.5984 GB, free: 11.93 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003898/0.1402, allocations: 241.8 kB / 0.5987 GB, free: 11.71 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000596/0.1408, allocations: 402.9 kB / 0.5991 GB, free: 11.31 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006507/0.1415, allocations: 402.8 kB / 0.5994 GB, free: 10.92 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 4.747e-05/0.1415, allocations: 28 kB / 0.5995 GB, free: 10.89 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007421/0.1423, allocations: 470.7 kB / 0.5999 GB, free: 10.43 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.1424, allocations: 127.6 kB / 0.6 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.1425, allocations: 123.7 kB / 0.6002 GB, free: 10.18 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0007478/0.1432, allocations: 0.5295 MB / 0.6007 GB, free: 9.652 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1432, allocations: 0 / 0.6007 GB, free: 9.652 MB / 0.5573 GB Notification: Performance of FrontEnd: time 9.51e-07/0.1432, allocations: 4 kB / 0.6007 GB, free: 9.648 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.1432, allocations: 0 / 0.6007 GB, free: 9.648 MB / 0.5573 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.0006235/0.1439, allocations: 0.5609 MB / 0.6012 GB, free: 9.062 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.1439, allocations: 8.75 kB / 0.6012 GB, free: 9.055 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000595/0.1445, allocations: 176.3 kB / 0.6014 GB, free: 8.883 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003427/0.1448, allocations: 268.6 kB / 0.6017 GB, free: 8.598 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.01e-05/0.1449, allocations: 77.27 kB / 0.6017 GB, free: 8.512 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.298e-05/0.1449, allocations: 31.94 kB / 0.6018 GB, free: 8.48 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003172/0.1453, allocations: 292.5 kB / 0.602 GB, free: 8.168 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.1453, allocations: 0 / 0.602 GB, free: 8.168 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.126e-05/0.1453, allocations: 12 kB / 0.6021 GB, free: 8.156 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.1453, allocations: 9.016 kB / 0.6021 GB, free: 8.148 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.1454, allocations: 90.22 kB / 0.6021 GB, free: 8.059 MB / 0.5573 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.0009124/0.1463, allocations: 0.8741 MB / 0.603 GB, free: 7.156 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001597/0.1465, allocations: 113.5 kB / 0.6031 GB, free: 7.035 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.644e-05/0.1465, allocations: 43.64 kB / 0.6032 GB, free: 6.988 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002416/0.1468, allocations: 71.94 kB / 0.6032 GB, free: 6.918 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.1468, allocations: 38.55 kB / 0.6033 GB, free: 6.871 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=15): time 1.683e-06/0.1468, allocations: 0 / 0.6033 GB, free: 6.871 MB / 0.5573 GB Notification: Performance of matching and sorting (n=15): time 0.0005751/0.1474, allocations: 131.8 kB / 0.6034 GB, free: 6.738 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.433e-05/0.1474, allocations: 55.41 kB / 0.6034 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.1475, allocations: 229 kB / 0.6037 GB, free: 6.438 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.1475, allocations: 25.7 kB / 0.6037 GB, free: 6.406 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 7.052e-05/0.1476, allocations: 176.9 kB / 0.6038 GB, free: 6.23 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.814e-05/0.1476, allocations: 51.52 kB / 0.6039 GB, free: 6.18 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.23e-05/0.1477, allocations: 45.69 kB / 0.6039 GB, free: 6.129 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 7.968e-05/0.1477, allocations: 342.7 kB / 0.6043 GB, free: 5.785 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.319e-05/0.1478, allocations: 14.83 kB / 0.6043 GB, free: 5.77 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.174e-05/0.1479, allocations: 147.9 kB / 0.6044 GB, free: 5.586 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001082/0.148, allocations: 106.1 kB / 0.6045 GB, free: 5.461 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.148, allocations: 4 kB / 0.6045 GB, free: 5.457 MB / 0.5573 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001671/0.1481, allocations: 127.7 kB / 0.6046 GB, free: 5.328 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.1482, allocations: 4.188 kB / 0.6047 GB, free: 5.324 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.1482, allocations: 11.94 kB / 0.6047 GB, free: 5.312 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.1482, allocations: 0 / 0.6047 GB, free: 5.312 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.1483, allocations: 39.98 kB / 0.6047 GB, free: 5.273 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.1483, allocations: 0.6875 kB / 0.6047 GB, free: 5.273 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.227e-05/0.1484, allocations: 19.88 kB / 0.6047 GB, free: 5.254 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.112e-05/0.1484, allocations: 12 kB / 0.6047 GB, free: 5.242 MB / 0.5573 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 8.454e-05/0.1485, allocations: 124.5 kB / 0.6049 GB, free: 5.109 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.48e-05/0.1485, allocations: 19.98 kB / 0.6049 GB, free: 5.09 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002018/0.1487, allocations: 136.5 kB / 0.605 GB, free: 4.957 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1487, allocations: 3.938 kB / 0.605 GB, free: 4.953 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.1487, allocations: 2.344 kB / 0.605 GB, free: 4.953 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.1487, allocations: 11.98 kB / 0.605 GB, free: 4.941 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004915/0.1492, allocations: 0.5116 MB / 0.6055 GB, free: 4.375 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.1492, allocations: 0.5 kB / 0.6055 GB, free: 4.375 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.199e-05/0.1493, allocations: 35.91 kB / 0.6056 GB, free: 4.34 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.1493, allocations: 3.938 kB / 0.6056 GB, free: 4.336 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.1493, allocations: 8.219 kB / 0.6056 GB, free: 4.328 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.1493, allocations: 8.5 kB / 0.6056 GB, free: 4.32 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1493, allocations: 0 / 0.6056 GB, free: 4.32 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000199/0.1495, allocations: 302.4 kB / 0.6059 GB, free: 3.98 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.951e-05/0.1496, allocations: 31.84 kB / 0.6059 GB, free: 3.949 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/0.1496, allocations: 8.812 kB / 0.6059 GB, free: 3.941 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.975e-05/0.1497, allocations: 8 kB / 0.6059 GB, free: 3.934 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.841e-05/0.1497, allocations: 23.91 kB / 0.6059 GB, free: 3.91 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.1497, allocations: 4 kB / 0.6059 GB, free: 3.906 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 5.459e-05/0.1498, allocations: 78.77 kB / 0.606 GB, free: 3.832 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1498, allocations: 4 kB / 0.606 GB, free: 3.828 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002992/0.1501, allocations: 111.7 kB / 0.6061 GB, free: 3.719 MB / 0.5573 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 (15): * Single equations (assignments): 15 * 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.0002458/0.1503, allocations: 144.2 kB / 0.6063 GB, free: 3.566 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001454/0.1505, allocations: 89.19 kB / 0.6063 GB, free: 3.477 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.1505, allocations: 0 / 0.6063 GB, free: 3.477 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.717e-05/0.1505, allocations: 40.72 kB / 0.6064 GB, free: 3.434 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003598/0.1509, allocations: 118.2 kB / 0.6065 GB, free: 3.328 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009176/0.1518, allocations: 0.5515 MB / 0.607 GB, free: 2.727 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.364e-05/0.1519, allocations: 98.97 kB / 0.6071 GB, free: 2.613 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001322/0.152, allocations: 48.19 kB / 0.6072 GB, free: 2.574 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000208/0.1522, allocations: 135.2 kB / 0.6073 GB, free: 2.441 MB / 0.5573 GB Notification: Performance of SimCode: time 5.91e-07/0.1522, allocations: 0 / 0.6073 GB, free: 2.441 MB / 0.5573 GB Notification: Performance of Templates: time 0.00788/0.1601, allocations: 5.687 MB / 0.6129 GB, free: 12.97 MB / 0.573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.makefile [Timeout 660] (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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.849441991187632]