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.0007216/0.0007216, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001139/0.00186, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007119/0.0007119, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001021/0.001733, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.986/0.986, allocations: 177.2 MB / 189.7 MB, free: 5.223 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08043/1.066, allocations: 53.67 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001267/0.001267, allocations: 238.8 kB / 244.4 MB, free: 14.53 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00103/0.002297, allocations: 483.3 kB / 244.8 MB, free: 14.05 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7432/0.7432, allocations: 138.7 MB / 384.3 MB, free: 352 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06679/0.81, allocations: 42.41 MB / 426.7 MB, free: 5.82 MB / 410.7 MB " [Timeout remaining time 179] 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.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 3.136e-06/3.136e-06, allocations: 3.984 kB / 428.1 MB, free: 4.457 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.24e-05/2.554e-05, allocations: 2.312 kB / 428.1 MB, free: 4.453 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate): time 0.3753/0.3753, allocations: 146.6 MB / 0.5612 GB, free: 13.76 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.002731/0.378, allocations: 2.319 MB / 0.5635 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002116/0.3782, allocations: 19.81 kB / 0.5635 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0002516/0.3785, allocations: 87.27 kB / 0.5636 GB, free: 11.35 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.001187/0.3797, allocations: 0.6682 MB / 0.5642 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008032/0.3805, allocations: 0.4933 MB / 0.5647 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0005952/0.3811, allocations: 0.7483 MB / 0.5654 GB, free: 9.434 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002858/0.3814, allocations: 235.8 kB / 0.5656 GB, free: 9.215 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004332/0.3818, allocations: 420.5 kB / 0.5661 GB, free: 8.805 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000516/0.3823, allocations: 394.8 kB / 0.5664 GB, free: 8.418 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 3.668e-05/0.3823, allocations: 24 kB / 0.5665 GB, free: 8.395 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006382/0.383, allocations: 490.7 kB / 0.5669 GB, free: 7.914 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 9.238e-05/0.3831, allocations: 99.69 kB / 0.567 GB, free: 7.816 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 8.651e-05/0.3832, allocations: 103.8 kB / 0.5671 GB, free: 7.715 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0005253/0.3837, allocations: 482.4 kB / 0.5676 GB, free: 7.242 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 9.047e-06/0.3837, allocations: 0 / 0.5676 GB, free: 7.242 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3837, allocations: 0 / 0.5676 GB, free: 7.242 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.191e-05/0.3837, allocations: 0 / 0.5676 GB, free: 7.242 MB / 0.5417 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.0006612/0.3844, allocations: 0.659 MB / 0.5682 GB, free: 6.566 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 2.952e-05/0.3844, allocations: 8.75 kB / 0.5682 GB, free: 6.559 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006462/0.385, allocations: 265.4 kB / 0.5685 GB, free: 6.281 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003009/0.3853, allocations: 252.7 kB / 0.5687 GB, free: 6.012 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.068e-05/0.3854, allocations: 80 kB / 0.5688 GB, free: 5.922 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.465e-05/0.3854, allocations: 25.12 kB / 0.5688 GB, free: 5.898 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002907/0.3857, allocations: 297.6 kB / 0.5691 GB, free: 5.582 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.3857, allocations: 4 kB / 0.5691 GB, free: 5.578 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.928e-05/0.3858, allocations: 8 kB / 0.5691 GB, free: 5.57 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.3858, allocations: 8 kB / 0.5691 GB, free: 5.562 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.3859, allocations: 86.22 kB / 0.5692 GB, free: 5.477 MB / 0.5417 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.0008236/0.3867, allocations: 0.8717 MB / 0.5701 GB, free: 4.574 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.3869, allocations: 122.9 kB / 0.5702 GB, free: 4.441 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.13e-05/0.3869, allocations: 35.67 kB / 0.5702 GB, free: 4.402 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002358/0.3871, allocations: 75.92 kB / 0.5703 GB, free: 4.328 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.3872, allocations: 38.55 kB / 0.5703 GB, free: 4.281 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=15): time 1.773e-06/0.3872, allocations: 0 / 0.5703 GB, free: 4.281 MB / 0.5417 GB Notification: Performance of matching and sorting (n=15): time 0.0002795/0.3875, allocations: 126.2 kB / 0.5704 GB, free: 4.152 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/0.3875, allocations: 59.34 kB / 0.5705 GB, free: 4.082 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.3876, allocations: 225 kB / 0.5707 GB, free: 3.855 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.3876, allocations: 33.69 kB / 0.5707 GB, free: 3.816 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.393e-05/0.3877, allocations: 172.9 kB / 0.5709 GB, free: 3.645 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.757e-05/0.3877, allocations: 55.52 kB / 0.571 GB, free: 3.59 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.224e-05/0.3878, allocations: 45.69 kB / 0.571 GB, free: 3.539 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.119e-05/0.3879, allocations: 334.8 kB / 0.5713 GB, free: 3.203 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.103e-05/0.3879, allocations: 19.45 kB / 0.5713 GB, free: 3.184 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.873e-05/0.388, allocations: 152.1 kB / 0.5715 GB, free: 3 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.814e-05/0.3881, allocations: 112.4 kB / 0.5716 GB, free: 2.867 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3881, allocations: 0 / 0.5716 GB, free: 2.867 MB / 0.5417 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001606/0.3882, allocations: 118.2 kB / 0.5717 GB, free: 2.746 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.3882, allocations: 8 kB / 0.5717 GB, free: 2.738 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3882, allocations: 0 / 0.5717 GB, free: 2.738 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.3883, allocations: 9.062 kB / 0.5717 GB, free: 2.73 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.3884, allocations: 47.92 kB / 0.5718 GB, free: 2.684 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.3884, allocations: 7.922 kB / 0.5718 GB, free: 2.676 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.785e-05/0.3885, allocations: 19.84 kB / 0.5718 GB, free: 2.656 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.018e-05/0.3885, allocations: 12 kB / 0.5718 GB, free: 2.645 MB / 0.5417 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 7.959e-05/0.3886, allocations: 124.6 kB / 0.5719 GB, free: 2.512 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.413e-05/0.3886, allocations: 27.91 kB / 0.5719 GB, free: 2.484 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001922/0.3888, allocations: 126.5 kB / 0.5721 GB, free: 2.359 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-06/0.3888, allocations: 0 / 0.5721 GB, free: 2.359 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.3888, allocations: 3.938 kB / 0.5721 GB, free: 2.355 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.3888, allocations: 0 / 0.5721 GB, free: 2.355 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004747/0.3893, allocations: 0.5194 MB / 0.5726 GB, free: 1.781 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.3893, allocations: 6.25 kB / 0.5726 GB, free: 1.777 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.755e-05/0.3894, allocations: 35.98 kB / 0.5726 GB, free: 1.742 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.493e-05/0.3894, allocations: 37.08 kB / 0.5727 GB, free: 1.707 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.3894, allocations: 3.938 kB / 0.5727 GB, free: 1.703 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.3894, allocations: 8 kB / 0.5727 GB, free: 1.695 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.3894, allocations: 8.219 kB / 0.5727 GB, free: 1.688 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3894, allocations: 0 / 0.5727 GB, free: 1.688 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001735/0.3896, allocations: 304.8 kB / 0.573 GB, free: 1.344 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.3896, allocations: 8 kB / 0.573 GB, free: 1.336 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.011e-05/0.3897, allocations: 7.984 kB / 0.573 GB, free: 1.328 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.924e-05/0.3897, allocations: 15.98 kB / 0.573 GB, free: 1.312 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/0.3898, allocations: 7.984 kB / 0.573 GB, free: 1.305 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.028e-05/0.3898, allocations: 74.78 kB / 0.5731 GB, free: 1.234 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6e-08/0.3898, allocations: 0 / 0.5731 GB, free: 1.234 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002656/0.3901, allocations: 111.7 kB / 0.5732 GB, free: 1.125 MB / 0.5417 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.0002725/0.3903, allocations: 160 kB / 0.5733 GB, free: 0.957 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001409/0.3905, allocations: 84.69 kB / 0.5734 GB, free: 0.8711 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.353e-06/0.3905, allocations: 4 kB / 0.5734 GB, free: 0.8672 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 6.815e-05/0.3906, allocations: 55.11 kB / 0.5735 GB, free: 0.8125 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005084/0.3911, allocations: 0.6844 MB / 0.5741 GB, free: 8 kB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002129/0.3932, allocations: 0.5697 MB / 0.5747 GB, free: 15.39 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.824e-05/0.3933, allocations: 103 kB / 0.5748 GB, free: 15.28 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001083/0.3934, allocations: 38.98 kB / 0.5748 GB, free: 15.25 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002015/0.3936, allocations: 131.2 kB / 0.575 GB, free: 15.12 MB / 0.5573 GB Notification: Performance of SimCode: time 8.71e-07/0.3936, allocations: 0 / 0.575 GB, free: 15.12 MB / 0.5573 GB Notification: Performance of Templates: time 0.007745/0.4013, allocations: 5.895 MB / 0.5807 GB, free: 9.496 MB / 0.5573 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.770228683948517]