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.0006908/0.0006908, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009171/0.001608, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007152/0.0007152, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008928/0.001608, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9882/0.9882, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09006/1.078, allocations: 53.65 MB / 243.2 MB, free: 15.59 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.00121/0.00121, allocations: 237.8 kB / 244.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009028/0.002113, allocations: 467.5 kB / 244.7 MB, free: 14.18 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.6607/0.6607, allocations: 138.7 MB / 384.1 MB, free: 496 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06785/0.7285, allocations: 42.4 MB / 426.5 MB, free: 5.949 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.082e-06/1.082e-06, allocations: 0 / 427.8 MB, free: 4.617 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.607e-06/9.689e-06, allocations: 2.312 kB / 427.8 MB, free: 4.613 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.3157/0.3157, allocations: 146.5 MB / 0.5609 GB, free: 14.08 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.001493/0.3172, allocations: 1.008 MB / 0.5618 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001645/0.3174, allocations: 19.81 kB / 0.5619 GB, free: 13.07 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.0002286/0.3176, allocations: 95.27 kB / 0.562 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.0007038/0.3183, allocations: 417.6 kB / 0.5623 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.000554/0.3189, allocations: 344.4 kB / 0.5627 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.0006571/0.3195, allocations: 0.7013 MB / 0.5634 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003606/0.3199, allocations: 212.3 kB / 0.5636 GB, free: 11.33 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005711/0.3204, allocations: 396.4 kB / 0.5639 GB, free: 10.94 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004931/0.3209, allocations: 236.2 kB / 0.5642 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 4.001e-05/0.321, allocations: 20 kB / 0.5642 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003351/0.3213, allocations: 195.5 kB / 0.5644 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 8.051e-05/0.3214, allocations: 103.7 kB / 0.5645 GB, free: 10.4 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 8.199e-05/0.3215, allocations: 91.81 kB / 0.5646 GB, free: 10.31 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0003566/0.3218, allocations: 302.9 kB / 0.5648 GB, free: 10.01 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.651e-05/0.3219, allocations: 0 / 0.5648 GB, free: 10.01 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3219, allocations: 8 kB / 0.5649 GB, free: 10 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.689e-05/0.3219, allocations: 0 / 0.5649 GB, free: 10 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.0006235/0.3225, allocations: 0.5942 MB / 0.5654 GB, free: 9.391 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.3225, allocations: 8.75 kB / 0.5654 GB, free: 9.383 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002671/0.3228, allocations: 157.8 kB / 0.5656 GB, free: 9.211 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002665/0.3231, allocations: 252.7 kB / 0.5658 GB, free: 8.941 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.3231, allocations: 17.03 kB / 0.5659 GB, free: 8.926 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.3231, allocations: 28.38 kB / 0.5659 GB, free: 8.898 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002387/0.3233, allocations: 254.1 kB / 0.5661 GB, free: 8.625 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.3234, allocations: 0 / 0.5661 GB, free: 8.625 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.3234, allocations: 12 kB / 0.5661 GB, free: 8.613 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.3234, allocations: 8 kB / 0.5661 GB, free: 8.605 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.473e-05/0.3235, allocations: 80.52 kB / 0.5662 GB, free: 8.523 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.0006792/0.3241, allocations: 0.9754 MB / 0.5672 GB, free: 7.508 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 9.34e-05/0.3242, allocations: 107.2 kB / 0.5673 GB, free: 7.395 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.131e-05/0.3243, allocations: 36.36 kB / 0.5673 GB, free: 7.355 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001652/0.3244, allocations: 45.58 kB / 0.5674 GB, free: 7.312 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.3244, allocations: 38.56 kB / 0.5674 GB, free: 7.266 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=13): time 1.012e-06/0.3244, allocations: 0 / 0.5674 GB, free: 7.266 MB / 0.5417 GB Notification: Performance of matching and sorting (n=13): time 0.0002186/0.3247, allocations: 113.8 kB / 0.5675 GB, free: 7.148 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/0.3247, allocations: 59.39 kB / 0.5676 GB, free: 7.078 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.3248, allocations: 221 kB / 0.5678 GB, free: 6.855 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.3248, allocations: 33.7 kB / 0.5678 GB, free: 6.816 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.851e-05/0.3249, allocations: 176.6 kB / 0.568 GB, free: 6.637 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.436e-05/0.3249, allocations: 47.58 kB / 0.568 GB, free: 6.59 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.002e-05/0.3249, allocations: 29.7 kB / 0.568 GB, free: 6.555 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.558e-05/0.325, allocations: 342.7 kB / 0.5684 GB, free: 6.211 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.332e-05/0.3251, allocations: 14.81 kB / 0.5684 GB, free: 6.195 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.3252, allocations: 136.6 kB / 0.5685 GB, free: 6.027 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/0.3253, allocations: 95.84 kB / 0.5686 GB, free: 5.914 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3253, allocations: 0 / 0.5686 GB, free: 5.914 MB / 0.5417 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001175/0.3254, allocations: 109 kB / 0.5687 GB, free: 5.801 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 9.758e-06/0.3254, allocations: 4 kB / 0.5687 GB, free: 5.797 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.3254, allocations: 4 kB / 0.5687 GB, free: 5.793 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.276e-06/0.3254, allocations: 0 / 0.5687 GB, free: 5.793 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.576e-05/0.3255, allocations: 35.92 kB / 0.5687 GB, free: 5.758 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.3255, allocations: 8.094 kB / 0.5688 GB, free: 5.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.678e-05/0.3256, allocations: 17.95 kB / 0.5688 GB, free: 5.734 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/0.3256, allocations: 11.98 kB / 0.5688 GB, free: 5.723 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.126e-05/0.3257, allocations: 120.6 kB / 0.5689 GB, free: 5.594 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.299e-05/0.3257, allocations: 15.98 kB / 0.5689 GB, free: 5.578 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001181/0.3258, allocations: 103.3 kB / 0.569 GB, free: 5.469 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3258, allocations: 4 kB / 0.569 GB, free: 5.465 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.3258, allocations: 0 / 0.569 GB, free: 5.465 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3258, allocations: 0 / 0.569 GB, free: 5.465 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000375/0.3262, allocations: 500 kB / 0.5695 GB, free: 4.922 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.3262, allocations: 4 kB / 0.5695 GB, free: 4.918 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.229e-05/0.3263, allocations: 28.86 kB / 0.5695 GB, free: 4.891 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.577e-05/0.3263, allocations: 37.14 kB / 0.5696 GB, free: 4.855 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.3263, allocations: 7.938 kB / 0.5696 GB, free: 4.848 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.3263, allocations: 0 / 0.5696 GB, free: 4.848 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.3263, allocations: 4 kB / 0.5696 GB, free: 4.844 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3263, allocations: 4.219 kB / 0.5696 GB, free: 4.84 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001364/0.3265, allocations: 293.2 kB / 0.5699 GB, free: 4.508 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.3265, allocations: 14.11 kB / 0.5699 GB, free: 4.496 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.86e-05/0.3265, allocations: 7.938 kB / 0.5699 GB, free: 4.488 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.722e-05/0.3266, allocations: 11.98 kB / 0.5699 GB, free: 4.477 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.3266, allocations: 4 kB / 0.5699 GB, free: 4.473 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.288e-05/0.3266, allocations: 74.72 kB / 0.57 GB, free: 4.402 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5e-08/0.3266, allocations: 0 / 0.57 GB, free: 4.402 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002014/0.3268, allocations: 87.77 kB / 0.57 GB, free: 4.316 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.0001623/0.327, allocations: 116.3 kB / 0.5702 GB, free: 4.191 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001055/0.3271, allocations: 60.72 kB / 0.5702 GB, free: 4.129 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/0.3271, allocations: 11.92 kB / 0.5702 GB, free: 4.117 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.56e-05/0.3271, allocations: 37.41 kB / 0.5703 GB, free: 4.078 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.3274, allocations: 117.5 kB / 0.5704 GB, free: 3.98 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00185/0.3293, allocations: 0.5323 MB / 0.5709 GB, free: 3.406 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001855/0.3295, allocations: 96.3 kB / 0.571 GB, free: 3.293 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 7.538e-05/0.3295, allocations: 30.2 kB / 0.571 GB, free: 3.27 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/0.3297, allocations: 107.3 kB / 0.5711 GB, free: 3.164 MB / 0.5417 GB Notification: Performance of SimCode: time 5.01e-07/0.3297, allocations: 4 kB / 0.5711 GB, free: 3.16 MB / 0.5417 GB Notification: Performance of Templates: time 0.005611/0.3353, allocations: 4.153 MB / 0.5752 GB, free: 15.22 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.6063981289044023]