Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.001376/0.001376, allocations: 78.34 kB / 19.01 MB, free: 2.859 MB / 14.72 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.002234/0.002234, allocations: 155.4 kB / 22.25 MB, free: 5.109 MB / 14.72 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 1.412/1.412, allocations: 177.2 MB / 202.6 MB, free: 9.277 MB / 190.1 MB " [Timeout remaining time 178] 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.00247/0.00247, allocations: 235.1 kB / 259.2 MB, free: 0.5859 MB / 238.1 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 1.064/1.064, allocations: 138.5 MB / 454.2 MB, free: 2.07 MB / 366.1 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.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003226/0.003226, allocations: 99.86 kB / 0.6466 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3686/0.3719, allocations: 95.36 MB / 0.7397 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002712/0.3746, allocations: 1.577 MB / 0.7413 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00162/0.3762, allocations: 0.9241 MB / 0.7422 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.498e-05/0.3763, allocations: 4 kB / 0.7422 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.015e-05/0.3763, allocations: 7.875 kB / 0.7422 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001773/0.3765, allocations: 23.78 kB / 0.7422 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003906/0.3769, allocations: 155.6 kB / 0.7423 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001421/0.377, allocations: 75.66 kB / 0.7424 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.148e-05/0.3771, allocations: 15.97 kB / 0.7424 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001453/0.3772, allocations: 47.84 kB / 0.7425 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.51e-05/0.3773, allocations: 31.84 kB / 0.7425 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.3773, allocations: 7.984 kB / 0.7425 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003916/0.3777, allocations: 275.6 kB / 0.7428 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.153e-05/0.3777, allocations: 19.92 kB / 0.7428 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.499e-05/0.3778, allocations: 19.88 kB / 0.7428 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002566/0.378, allocations: 164.5 kB / 0.743 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.378, allocations: 3.938 kB / 0.743 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.753e-06/0.378, allocations: 0 / 0.743 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.067e-06/0.378, allocations: 0 / 0.743 GB, free: 11.76 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005353/0.3786, allocations: 333.7 kB / 0.7433 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.3786, allocations: 13.34 kB / 0.7433 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000273/0.3789, allocations: 32.86 kB / 0.7433 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002274/0.3791, allocations: 146.3 kB / 0.7435 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.294e-06/0.3791, allocations: 4.375 kB / 0.7435 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.3791, allocations: 4.375 kB / 0.7435 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.3793, allocations: 61.98 kB / 0.7435 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.3793, allocations: 0 / 0.7435 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.3793, allocations: 0 / 0.7435 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.3793, allocations: 4 kB / 0.7435 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001581/0.3795, allocations: 51.94 kB / 0.7436 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004006/0.3799, allocations: 236.4 kB / 0.7438 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001424/0.38, allocations: 58.48 kB / 0.7439 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.095e-05/0.3801, allocations: 28.97 kB / 0.7439 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.3801, allocations: 0 / 0.7439 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.3801, allocations: 34.56 kB / 0.7439 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.3801, allocations: 4 kB / 0.7439 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.0003706/0.3805, allocations: 113.5 kB / 0.7441 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.3805, allocations: 51.41 kB / 0.7441 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.3807, allocations: 140.8 kB / 0.7442 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.3807, allocations: 25.7 kB / 0.7443 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.268e-05/0.3807, allocations: 100.1 kB / 0.7444 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.078e-05/0.3808, allocations: 15.8 kB / 0.7444 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-05/0.3808, allocations: 17.72 kB / 0.7444 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.3809, allocations: 326.8 kB / 0.7447 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.985e-05/0.381, allocations: 19.98 kB / 0.7447 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.688e-05/0.3811, allocations: 19.98 kB / 0.7447 GB, free: 9.789 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.3812, allocations: 56.83 kB / 0.7448 GB, free: 9.73 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.3812, allocations: 3.938 kB / 0.7448 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002183/0.3815, allocations: 93.55 kB / 0.7449 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.3815, allocations: 8 kB / 0.7449 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.3815, allocations: 4 kB / 0.7449 GB, free: 9.617 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.3815, allocations: 0 / 0.7449 GB, free: 9.617 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.3816, allocations: 15.98 kB / 0.7449 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.3816, allocations: 0 / 0.7449 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.188e-05/0.3817, allocations: 4.438 kB / 0.7449 GB, free: 9.598 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.3817, allocations: 7.984 kB / 0.7449 GB, free: 9.59 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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.663e-05/0.3818, allocations: 113.8 kB / 0.745 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.486e-05/0.3818, allocations: 11.95 kB / 0.745 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002544/0.3821, allocations: 110 kB / 0.7451 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.3821, allocations: 4 kB / 0.7452 GB, free: 9.332 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3821, allocations: 3.984 kB / 0.7452 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.3821, allocations: 0 / 0.7452 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.3822, allocations: 121.2 kB / 0.7453 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3822, allocations: 0 / 0.7453 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.858e-05/0.3823, allocations: 19.98 kB / 0.7453 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3823, allocations: 0 / 0.7453 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.3823, allocations: 0 / 0.7453 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.3823, allocations: 3.984 kB / 0.7453 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3824, allocations: 8 kB / 0.7453 GB, free: 9.148 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002653/0.3826, allocations: 191.3 kB / 0.7455 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.704e-05/0.3826, allocations: 15.88 kB / 0.7455 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.3826, allocations: 0 / 0.7455 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.874e-05/0.3827, allocations: 4 kB / 0.7455 GB, free: 8.926 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.001e-05/0.3828, allocations: 3.984 kB / 0.7455 GB, free: 8.922 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.3828, allocations: 11.94 kB / 0.7455 GB, free: 8.91 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.9e-05/0.3829, allocations: 99.27 kB / 0.7456 GB, free: 8.812 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.3829, allocations: 0 / 0.7456 GB, free: 8.812 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002514/0.3831, allocations: 24 kB / 0.7456 GB, free: 8.789 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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.0001488/0.3833, allocations: 111.2 kB / 0.7457 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002063/0.3835, allocations: 51.97 kB / 0.7458 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3835, allocations: 0 / 0.7458 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.878e-05/0.3836, allocations: 35.91 kB / 0.7458 GB, free: 8.586 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.3838, allocations: 18.19 kB / 0.7458 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004178/0.3842, allocations: 201.5 kB / 0.746 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.261e-05/0.3843, allocations: 79.27 kB / 0.7461 GB, free: 8.25 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.171e-05/0.3844, allocations: 4 kB / 0.7461 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.282e-05/0.3844, allocations: 16.5 kB / 0.7461 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.3844, allocations: 0 / 0.7461 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of Templates: time 0.00386/0.3882, allocations: 1.14 MB / 0.7472 GB, free: 7.113 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.786529250442982] Failed to read output from testmodel.py, exit status != 0: 0.3965257816016674 0.41063761000000004 0.029568831 Calling exit ...