Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.00137/0.00137, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001544/0.001544, allocations: 216.9 kB / 22.99 MB, free: 4.945 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.456/1.456, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.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.002544/0.002544, allocations: 298.6 kB / 313.5 MB, free: 2.609 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.227/1.227, allocations: 180.6 MB / 0.5377 GB, free: 14.48 MB / 382.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.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") [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.002957/0.002957, allocations: 111.8 kB / 0.7407 GB, free: 27.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.192/0.1949, allocations: 95.38 MB / 0.8339 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003512/0.1985, allocations: 2.021 MB / 0.8359 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001821/0.2003, allocations: 1.021 MB / 0.8368 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001232/0.2004, allocations: 7.938 kB / 0.8369 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 6.171e-05/0.2005, allocations: 31.66 kB / 0.8369 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000307/0.2008, allocations: 83.28 kB / 0.837 GB, free: 4.637 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004339/0.2012, allocations: 195.5 kB / 0.8372 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003634/0.2016, allocations: 294.7 kB / 0.8374 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001684/0.2017, allocations: 40.86 kB / 0.8375 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001517/0.2019, allocations: 115.5 kB / 0.8376 GB, free: 4 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002251/0.2021, allocations: 127.4 kB / 0.8377 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.8e-05/0.2021, allocations: 16 kB / 0.8377 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004242/0.2026, allocations: 283.6 kB / 0.838 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.137e-05/0.2026, allocations: 51.83 kB / 0.838 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.725e-05/0.2027, allocations: 95.47 kB / 0.8381 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004298/0.2032, allocations: 342.5 kB / 0.8385 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.2032, allocations: 4 kB / 0.8385 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.844e-06/0.2032, allocations: 0 / 0.8385 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.2032, allocations: 0 / 0.8385 GB, free: 3.098 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.00109/0.2043, allocations: 0.5554 MB / 0.839 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.2043, allocations: 9.344 kB / 0.839 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002305/0.2045, allocations: 36.75 kB / 0.839 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003907/0.2049, allocations: 229.5 kB / 0.8393 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.2049, allocations: 12.66 kB / 0.8393 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.251e-05/0.205, allocations: 16.38 kB / 0.8393 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005421/0.2055, allocations: 228.9 kB / 0.8395 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.2055, allocations: 0 / 0.8395 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.302e-05/0.2056, allocations: 11.98 kB / 0.8395 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.2056, allocations: 4 kB / 0.8395 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006403/0.2062, allocations: 198.6 kB / 0.8397 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001123/0.2073, allocations: 0.8483 MB / 0.8405 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007637/0.2081, allocations: 233.2 kB / 0.8408 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003223/0.2084, allocations: 101.6 kB / 0.8409 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.2084, allocations: 4 kB / 0.8409 GB, free: 500 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.2085, allocations: 42.48 kB / 0.8409 GB, free: 448 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 1.373e-06/0.2085, allocations: 3.938 kB / 0.8409 GB, free: 444 kB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.001158/0.2096, allocations: 337.5 kB / 0.8412 GB, free: 100 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.541e-05/0.2097, allocations: 77.11 kB / 0.8413 GB, free: 4 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002957/0.21, allocations: 260.2 kB / 0.8416 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/0.21, allocations: 33.7 kB / 0.8416 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.2101, allocations: 176.2 kB / 0.8418 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.131e-05/0.2102, allocations: 51.55 kB / 0.8418 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.573e-05/0.2103, allocations: 41.7 kB / 0.8418 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.2104, allocations: 334.8 kB / 0.8422 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003155/0.2107, allocations: 87.91 kB / 0.8422 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003506/0.2111, allocations: 148.4 kB / 0.8424 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000654/0.2117, allocations: 241.7 kB / 0.8426 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2117, allocations: 0 / 0.8426 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008111/0.2125, allocations: 289.8 kB / 0.8429 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.2126, allocations: 11.94 kB / 0.8429 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.2126, allocations: 0 / 0.8429 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.851e-05/0.2126, allocations: 4 kB / 0.8429 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002821/0.2129, allocations: 67.88 kB / 0.843 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.2129, allocations: 0 / 0.843 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002292/0.2131, allocations: 43.98 kB / 0.843 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.507e-05/0.2131, allocations: 4 kB / 0.843 GB, free: 14.17 MB / 0.5919 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 (23): * Single equations (assignments): 23 * 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 0.0001331/0.2133, allocations: 142.4 kB / 0.8432 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.2134, allocations: 35.73 kB / 0.8432 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008188/0.2142, allocations: 295.3 kB / 0.8435 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.2142, allocations: 7.984 kB / 0.8435 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.2142, allocations: 0 / 0.8435 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.2142, allocations: 0 / 0.8435 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003122/0.2145, allocations: 205.1 kB / 0.8437 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.2145, allocations: 0 / 0.8437 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000257/0.2148, allocations: 55.89 kB / 0.8437 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.705e-06/0.2148, allocations: 4 kB / 0.8437 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.2148, allocations: 7.938 kB / 0.8437 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.2148, allocations: 4 kB / 0.8437 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.2148, allocations: 3.984 kB / 0.8437 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008365/0.2156, allocations: 436.5 kB / 0.8442 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.53e-05/0.2157, allocations: 23.81 kB / 0.8442 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.694e-05/0.2157, allocations: 15.88 kB / 0.8442 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002561/0.216, allocations: 27.95 kB / 0.8442 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.304e-05/0.216, allocations: 19.97 kB / 0.8442 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.2161, allocations: 4 kB / 0.8443 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000179/0.2162, allocations: 191.1 kB / 0.8444 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.2162, allocations: 0 / 0.8444 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003383/0.2166, allocations: 55.94 kB / 0.8445 GB, free: 12.6 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (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 Backend phase and start with SimCode phase: time 0.0001802/0.2168, allocations: 115.2 kB / 0.8446 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007522/0.2175, allocations: 227.8 kB / 0.8448 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2175, allocations: 0 / 0.8448 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003508/0.2179, allocations: 107.8 kB / 0.8449 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005298/0.2184, allocations: 75.84 kB / 0.845 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008551/0.2192, allocations: 479.1 kB / 0.8454 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001543/0.2194, allocations: 151 kB / 0.8456 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.678e-05/0.2195, allocations: 27.44 kB / 0.8456 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of SimCode: time 3e-07/0.2195, allocations: 0 / 0.8456 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of Templates: time 0.006788/0.2263, allocations: 3.588 MB / 0.8491 GB, free: 7.832 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.735888089053333] Failed to read output from testmodel.py, exit status != 0: 0.23508282797411084 0.25032756399999995 0.044273383 Calling exit ...