Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.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.0006539/0.0006539, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008593/0.001513, 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.001073/0.001073, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001223/0.002295, 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.9621/0.9621, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09026/1.052, allocations: 53.67 MB / 243.4 MB, free: 15.51 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.001237/0.001237, allocations: 230.9 kB / 244.4 MB, free: 14.55 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009878/0.002225, allocations: 483.3 kB / 244.8 MB, free: 14.08 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.6873/0.6873, allocations: 138.7 MB / 384.3 MB, free: 376 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09872/0.786, allocations: 42.4 MB / 426.7 MB, free: 5.836 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.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 428.1 MB, free: 4.473 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.203e-05/1.342e-05, allocations: 2.312 kB / 428.1 MB, free: 4.469 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.3239/0.3239, allocations: 146.5 MB / 0.5611 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.001603/0.3255, allocations: 1.008 MB / 0.5621 GB, free: 12.88 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002011/0.3257, allocations: 19.81 kB / 0.5621 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0002323/0.326, allocations: 87.28 kB / 0.5622 GB, free: 12.78 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.0008601/0.3268, allocations: 421.6 kB / 0.5626 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006311/0.3275, allocations: 340.6 kB / 0.5629 GB, free: 12.03 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0005994/0.3281, allocations: 0.7094 MB / 0.5636 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004242/0.3285, allocations: 207.8 kB / 0.5638 GB, free: 11.13 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004465/0.3289, allocations: 400.4 kB / 0.5642 GB, free: 10.74 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002303/0.3292, allocations: 235.3 kB / 0.5644 GB, free: 10.51 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 3.112e-05/0.3292, allocations: 24 kB / 0.5645 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002826/0.3295, allocations: 191.5 kB / 0.5646 GB, free: 10.3 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 8.272e-05/0.3296, allocations: 99.69 kB / 0.5647 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 7.558e-05/0.3296, allocations: 91.81 kB / 0.5648 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0003293/0.33, allocations: 310.9 kB / 0.5651 GB, free: 9.805 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.116e-05/0.33, allocations: 0 / 0.5651 GB, free: 9.805 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.372e-06/0.33, allocations: 0 / 0.5651 GB, free: 9.805 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.097e-05/0.33, allocations: 0 / 0.5651 GB, free: 9.805 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0005457/0.3305, allocations: 0.5981 MB / 0.5657 GB, free: 9.188 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 2.969e-05/0.3306, allocations: 8.75 kB / 0.5657 GB, free: 9.18 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002724/0.3308, allocations: 161.8 kB / 0.5659 GB, free: 9.004 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002723/0.3311, allocations: 250.1 kB / 0.5661 GB, free: 8.738 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.3311, allocations: 21.03 kB / 0.5661 GB, free: 8.719 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/0.3312, allocations: 24.38 kB / 0.5661 GB, free: 8.695 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002482/0.3314, allocations: 248.5 kB / 0.5664 GB, free: 8.426 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.3314, allocations: 4.562 kB / 0.5664 GB, free: 8.422 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.3314, allocations: 8 kB / 0.5664 GB, free: 8.414 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-06/0.3314, allocations: 8 kB / 0.5664 GB, free: 8.406 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.575e-05/0.3315, allocations: 76.58 kB / 0.5665 GB, free: 8.328 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.0007109/0.3322, allocations: 0.9918 MB / 0.5674 GB, free: 7.301 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.3323, allocations: 97.86 kB / 0.5675 GB, free: 7.195 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.497e-05/0.3324, allocations: 32.36 kB / 0.5676 GB, free: 7.16 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001774/0.3325, allocations: 58.53 kB / 0.5676 GB, free: 7.105 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.3326, allocations: 30.56 kB / 0.5677 GB, free: 7.066 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.3326, allocations: 0 / 0.5677 GB, free: 7.066 MB / 0.5417 GB Notification: Performance of matching and sorting (n=13): time 0.0002591/0.3328, allocations: 118.6 kB / 0.5678 GB, free: 6.945 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/0.3329, allocations: 51.41 kB / 0.5678 GB, free: 6.883 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.333, allocations: 217 kB / 0.568 GB, free: 6.66 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.333, allocations: 25.7 kB / 0.568 GB, free: 6.629 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 8.328e-05/0.3331, allocations: 180.6 kB / 0.5682 GB, free: 6.449 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/0.3331, allocations: 55.58 kB / 0.5683 GB, free: 6.395 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.808e-05/0.3332, allocations: 33.7 kB / 0.5683 GB, free: 6.355 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.579e-05/0.3333, allocations: 338.7 kB / 0.5686 GB, free: 6.016 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.727e-05/0.3333, allocations: 18.81 kB / 0.5686 GB, free: 5.996 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.94e-05/0.3334, allocations: 126.2 kB / 0.5688 GB, free: 5.836 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.705e-05/0.3335, allocations: 98.47 kB / 0.5689 GB, free: 5.723 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.3335, allocations: 0 / 0.5689 GB, free: 5.723 MB / 0.5417 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001274/0.3336, allocations: 116.9 kB / 0.569 GB, free: 5.602 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.3336, allocations: 4 kB / 0.569 GB, free: 5.598 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.3336, allocations: 0.6094 kB / 0.569 GB, free: 5.598 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.3336, allocations: 4 kB / 0.569 GB, free: 5.594 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.653e-05/0.3337, allocations: 31.98 kB / 0.569 GB, free: 5.562 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.3337, allocations: 7.938 kB / 0.569 GB, free: 5.555 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.008e-05/0.3338, allocations: 15.89 kB / 0.569 GB, free: 5.539 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.3338, allocations: 4 kB / 0.569 GB, free: 5.535 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.021e-05/0.3339, allocations: 128.8 kB / 0.5692 GB, free: 5.398 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.466e-05/0.3339, allocations: 19.98 kB / 0.5692 GB, free: 5.379 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001241/0.334, allocations: 104.6 kB / 0.5693 GB, free: 5.27 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.334, allocations: 5.5 kB / 0.5693 GB, free: 5.266 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.334, allocations: 0 / 0.5693 GB, free: 5.266 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.334, allocations: 0 / 0.5693 GB, free: 5.266 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003939/0.3344, allocations: 0.4899 MB / 0.5698 GB, free: 4.723 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.3344, allocations: 4 kB / 0.5698 GB, free: 4.719 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.52e-05/0.3345, allocations: 31.92 kB / 0.5698 GB, free: 4.688 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.875e-05/0.3345, allocations: 35.77 kB / 0.5698 GB, free: 4.652 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.3345, allocations: 7.938 kB / 0.5698 GB, free: 4.645 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.3345, allocations: 0 / 0.5698 GB, free: 4.645 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.3345, allocations: 4 kB / 0.5698 GB, free: 4.641 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3345, allocations: 4 kB / 0.5698 GB, free: 4.637 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001617/0.3347, allocations: 284.2 kB / 0.5701 GB, free: 4.312 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.3347, allocations: 8 kB / 0.5701 GB, free: 4.305 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.008e-05/0.3348, allocations: 11.92 kB / 0.5701 GB, free: 4.293 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.231e-05/0.3348, allocations: 12.86 kB / 0.5701 GB, free: 4.281 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.3348, allocations: 4 kB / 0.5702 GB, free: 4.277 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.916e-05/0.3349, allocations: 78.7 kB / 0.5702 GB, free: 4.203 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6e-08/0.3349, allocations: 0 / 0.5702 GB, free: 4.203 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000218/0.3351, allocations: 87.77 kB / 0.5703 GB, free: 4.117 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 (13): * Single equations (assignments): 13 * 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.0001806/0.3353, allocations: 117.4 kB / 0.5704 GB, free: 3.992 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001192/0.3354, allocations: 66.88 kB / 0.5705 GB, free: 3.926 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/0.3354, allocations: 4 kB / 0.5705 GB, free: 3.922 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 5.668e-05/0.3355, allocations: 52.7 kB / 0.5705 GB, free: 3.867 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006653/0.3361, allocations: 0.6418 MB / 0.5712 GB, free: 3.117 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002026/0.3381, allocations: 0.5295 MB / 0.5717 GB, free: 2.547 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.174e-05/0.3382, allocations: 96.3 kB / 0.5718 GB, free: 2.434 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 9.551e-05/0.3383, allocations: 27.67 kB / 0.5718 GB, free: 2.41 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/0.3385, allocations: 107.3 kB / 0.5719 GB, free: 2.305 MB / 0.5417 GB Notification: Performance of SimCode: time 6.71e-07/0.3385, allocations: 0 / 0.5719 GB, free: 2.305 MB / 0.5417 GB Notification: Performance of Templates: time 0.006152/0.3446, allocations: 4.133 MB / 0.5759 GB, free: 14.39 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.731437901034951]