Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.001457/0.001457, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001749/0.001749, allocations: 218.7 kB / 23.01 MB, free: 4.609 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.437/1.437, allocations: 230.6 MB / 256.8 MB, free: 8.031 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.002528/0.002528, allocations: 289.2 kB / 313.5 MB, free: 2.844 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.233/1.233, allocations: 180.6 MB / 0.5377 GB, free: 12.98 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.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") [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.002875/0.002875, allocations: 105.8 kB / 0.7408 GB, free: 28.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1889/0.1918, allocations: 95.39 MB / 0.834 GB, free: 8.152 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.007011/0.1988, allocations: 4.671 MB / 0.8385 GB, free: 3.445 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.001199/0.2, allocations: 0.8342 MB / 0.8393 GB, free: 2.609 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.579e-05/0.2, allocations: 0 / 0.8393 GB, free: 2.609 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.0001744/0.2002, allocations: 23.78 kB / 0.8394 GB, free: 2.586 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 6.232e-05/0.2003, allocations: 39.69 kB / 0.8394 GB, free: 2.547 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005215/0.2008, allocations: 175.4 kB / 0.8396 GB, free: 2.375 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0002108/0.201, allocations: 171.4 kB / 0.8397 GB, free: 2.207 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 9.305e-05/0.2011, allocations: 17.08 kB / 0.8398 GB, free: 2.191 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001891/0.2013, allocations: 87.69 kB / 0.8398 GB, free: 2.105 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/0.2014, allocations: 83.67 kB / 0.8399 GB, free: 2.023 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 2.513e-05/0.2014, allocations: 12 kB / 0.8399 GB, free: 2.012 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003417/0.2018, allocations: 155.8 kB / 0.8401 GB, free: 1.859 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 3.604e-05/0.2018, allocations: 35.89 kB / 0.8401 GB, free: 1.824 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 8.323e-05/0.2019, allocations: 71.66 kB / 0.8402 GB, free: 1.754 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0003833/0.2023, allocations: 231.2 kB / 0.8404 GB, free: 1.527 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.2023, allocations: 0 / 0.8404 GB, free: 1.527 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2023, allocations: 0 / 0.8404 GB, free: 1.527 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.2023, allocations: 0 / 0.8404 GB, free: 1.527 MB / 0.5763 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009107/0.2032, allocations: 422 kB / 0.8408 GB, free: 1.086 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.2032, allocations: 8.75 kB / 0.8408 GB, free: 1.078 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.805e-05/0.2033, allocations: 20.83 kB / 0.8408 GB, free: 1.059 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.2034, allocations: 118.4 kB / 0.8409 GB, free: 0.918 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.2035, allocations: 12.38 kB / 0.841 GB, free: 0.9062 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.2035, allocations: 8.375 kB / 0.841 GB, free: 0.8984 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003392/0.2038, allocations: 120.1 kB / 0.8411 GB, free: 0.7773 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.2038, allocations: 4 kB / 0.8411 GB, free: 0.7734 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.2038, allocations: 7.984 kB / 0.8411 GB, free: 0.7656 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.2039, allocations: 3.938 kB / 0.8411 GB, free: 0.7617 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003996/0.2043, allocations: 135.9 kB / 0.8412 GB, free: 0.6289 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/0.2053, allocations: 443.5 kB / 0.8416 GB, free: 156 kB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002815/0.2056, allocations: 110.5 kB / 0.8418 GB, free: 36 kB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002051/0.2058, allocations: 72.8 kB / 0.8418 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001169/0.2069, allocations: 0.4958 MB / 0.8423 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.207, allocations: 38.56 kB / 0.8423 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=12): time 1.152e-06/0.207, allocations: 0 / 0.8423 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12): time 0.0006651/0.2076, allocations: 213.5 kB / 0.8425 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/0.2077, allocations: 51.41 kB / 0.8426 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.2078, allocations: 159.9 kB / 0.8427 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.2079, allocations: 33.7 kB / 0.8428 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 8.589e-05/0.2079, allocations: 112.4 kB / 0.8429 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.618e-05/0.208, allocations: 43.64 kB / 0.8429 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.784e-05/0.2081, allocations: 49.7 kB / 0.843 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.2082, allocations: 330.8 kB / 0.8433 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002146/0.2084, allocations: 71.95 kB / 0.8434 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002412/0.2087, allocations: 115.2 kB / 0.8435 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004146/0.2091, allocations: 174 kB / 0.8436 GB, free: 14 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2091, allocations: 4 kB / 0.8436 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005515/0.2097, allocations: 246.3 kB / 0.8439 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.2097, allocations: 4 kB / 0.8439 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.2097, allocations: 4 kB / 0.8439 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.2097, allocations: 3.938 kB / 0.8439 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002739/0.21, allocations: 56 kB / 0.8439 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.068e-06/0.21, allocations: 4 kB / 0.8439 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001498/0.2101, allocations: 31.86 kB / 0.844 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.55e-05/0.2102, allocations: 4 kB / 0.844 GB, free: 13.64 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (26): * Single equations (assignments): 26 * 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.0001168/0.2103, allocations: 122.4 kB / 0.8441 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.545e-05/0.2103, allocations: 15.91 kB / 0.8441 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004701/0.2108, allocations: 183.2 kB / 0.8443 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.2108, allocations: 11.92 kB / 0.8443 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.2108, allocations: 0 / 0.8443 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.2108, allocations: 0 / 0.8443 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002348/0.211, allocations: 188.6 kB / 0.8445 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.211, allocations: 0 / 0.8445 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.2112, allocations: 39.84 kB / 0.8445 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.2112, allocations: 0 / 0.8445 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.2112, allocations: 11.94 kB / 0.8445 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.2112, allocations: 0 / 0.8445 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2112, allocations: 0 / 0.8445 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004454/0.2116, allocations: 255.4 kB / 0.8448 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.501e-05/0.2117, allocations: 19.88 kB / 0.8448 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.295e-05/0.2117, allocations: 7.938 kB / 0.8448 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.2118, allocations: 15.98 kB / 0.8448 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.532e-05/0.2119, allocations: 11.92 kB / 0.8448 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.2119, allocations: 8 kB / 0.8448 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 8.495e-05/0.212, allocations: 112 kB / 0.8449 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.212, allocations: 3.938 kB / 0.8449 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003276/0.2123, allocations: 63.86 kB / 0.845 GB, free: 12.52 MB / 0.5919 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 (12): * Single equations (assignments): 12 * 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.0002847/0.2126, allocations: 151.1 kB / 0.8451 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004818/0.2131, allocations: 159.9 kB / 0.8453 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2131, allocations: 0 / 0.8453 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001817/0.2133, allocations: 63.89 kB / 0.8454 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003679/0.2136, allocations: 26.8 kB / 0.8454 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005325/0.2142, allocations: 294.4 kB / 0.8457 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/0.2145, allocations: 0.7006 MB / 0.8463 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.235e-05/0.2146, allocations: 19.44 kB / 0.8464 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of SimCode: time 3.11e-07/0.2146, allocations: 3.938 kB / 0.8464 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of Templates: time 0.005083/0.2197, allocations: 2.58 MB / 0.8489 GB, free: 8.492 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.622988858027384] Failed to read output from testmodel.py, exit status != 0: 0.22715481603518128 0.242132844 0.036892116 Calling exit ...