Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.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.001927/0.001927, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002544/0.002544, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.541/1.541, allocations: 230.6 MB / 256 MB, free: 7.773 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.002613/0.002613, allocations: 295.1 kB / 312.7 MB, free: 2.57 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.308/1.308, allocations: 180.6 MB / 0.5369 GB, free: 14.44 MB / 382.1 MB " [Timeout remaining time 178] 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.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel") translateModel(BuildingSystems.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel") [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.00294/0.00294, allocations: 101.7 kB / 0.74 GB, free: 27.89 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1697, allocations: 95.37 MB / 0.8331 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Examples.ExpansionVessel): time 0.01709/0.1868, allocations: 13.47 MB / 0.8463 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.00563/0.1924, allocations: 3.387 MB / 0.8496 GB, free: 6.871 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004697/0.1929, allocations: 35.75 kB / 0.8496 GB, free: 6.836 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006324/0.1935, allocations: 194.8 kB / 0.8498 GB, free: 6.645 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00156/0.1951, allocations: 0.6259 MB / 0.8504 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009904/0.1961, allocations: 406.8 kB / 0.8508 GB, free: 5.621 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001508/0.1976, allocations: 1.112 MB / 0.8519 GB, free: 4.504 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004241/0.198, allocations: 256.8 kB / 0.8521 GB, free: 4.25 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001062/0.1991, allocations: 416.5 kB / 0.8525 GB, free: 3.844 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004821/0.1996, allocations: 306.6 kB / 0.8528 GB, free: 3.543 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.413e-05/0.1996, allocations: 32 kB / 0.8528 GB, free: 3.512 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005303/0.2002, allocations: 223.5 kB / 0.8531 GB, free: 3.293 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001204/0.2003, allocations: 95.61 kB / 0.8531 GB, free: 3.199 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002117/0.2005, allocations: 175.2 kB / 0.8533 GB, free: 3.027 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0009218/0.2014, allocations: 0.6149 MB / 0.8539 GB, free: 2.41 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2014, allocations: 0 / 0.8539 GB, free: 2.41 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2014, allocations: 0 / 0.8539 GB, free: 2.41 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.2014, allocations: 0 / 0.8539 GB, free: 2.41 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001245/0.2027, allocations: 0.6777 MB / 0.8546 GB, free: 1.695 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.2027, allocations: 13.94 kB / 0.8546 GB, free: 1.684 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001907/0.2029, allocations: 44.7 kB / 0.8546 GB, free: 1.641 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008288/0.2037, allocations: 420.7 kB / 0.855 GB, free: 1.207 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.67e-05/0.2038, allocations: 20.88 kB / 0.8551 GB, free: 1.188 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.865e-05/0.2038, allocations: 27.94 kB / 0.8551 GB, free: 1.16 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006754/0.2045, allocations: 416 kB / 0.8555 GB, free: 0.707 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.2045, allocations: 0 / 0.8555 GB, free: 0.707 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.556e-05/0.2045, allocations: 15.98 kB / 0.8555 GB, free: 0.6914 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.082e-05/0.2046, allocations: 8 kB / 0.8555 GB, free: 0.6836 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004866/0.2051, allocations: 193.8 kB / 0.8557 GB, free: 0.4922 MB / 0.5919 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.001748/0.2068, allocations: 1.093 MB / 0.8568 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004699/0.2073, allocations: 158.5 kB / 0.8569 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001785/0.2074, allocations: 64.83 kB / 0.857 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.343e-05/0.2075, allocations: 11.98 kB / 0.857 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003614/0.2079, allocations: 226.1 kB / 0.8572 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.613e-06/0.2079, allocations: 0 / 0.8572 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.0006541/0.2086, allocations: 232.2 kB / 0.8574 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.536e-05/0.2086, allocations: 55.41 kB / 0.8575 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003741/0.209, allocations: 332.4 kB / 0.8578 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.449e-05/0.209, allocations: 33.7 kB / 0.8578 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001903/0.2092, allocations: 228.2 kB / 0.858 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.826e-05/0.2093, allocations: 55.53 kB / 0.8581 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.814e-05/0.2094, allocations: 57.66 kB / 0.8581 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001733/0.2095, allocations: 338.8 kB / 0.8585 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002256/0.2098, allocations: 101.6 kB / 0.8586 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002662/0.21, allocations: 172.8 kB / 0.8587 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004579/0.2105, allocations: 249.3 kB / 0.859 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.2105, allocations: 0 / 0.859 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006599/0.2112, allocations: 351.1 kB / 0.8593 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.648e-05/0.2112, allocations: 31.73 kB / 0.8593 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.2112, allocations: 4 kB / 0.8593 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.2112, allocations: 4 kB / 0.8593 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000244/0.2115, allocations: 64.2 kB / 0.8594 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.2115, allocations: 7.938 kB / 0.8594 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002425/0.2117, allocations: 31.83 kB / 0.8594 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.779e-05/0.2117, allocations: 12 kB / 0.8594 GB, free: 12.38 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * 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.0001828/0.2119, allocations: 162.4 kB / 0.8596 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.516e-05/0.212, allocations: 35.75 kB / 0.8596 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004826/0.2125, allocations: 192.5 kB / 0.8598 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.2125, allocations: 0 / 0.8598 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.2125, allocations: 3.938 kB / 0.8598 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006363/0.2131, allocations: 487.6 kB / 0.8603 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003844/0.2135, allocations: 245.2 kB / 0.8605 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.2135, allocations: 3.984 kB / 0.8605 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001631/0.2137, allocations: 27.98 kB / 0.8606 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.2137, allocations: 0 / 0.8606 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.2137, allocations: 0 / 0.8606 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.2137, allocations: 4 kB / 0.8606 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.2137, allocations: 4 kB / 0.8606 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006425/0.2143, allocations: 288.6 kB / 0.8608 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000126/0.2144, allocations: 51.7 kB / 0.8609 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.398e-05/0.2145, allocations: 8 kB / 0.8609 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002236/0.2147, allocations: 19.97 kB / 0.8609 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.874e-05/0.2148, allocations: 15.98 kB / 0.8609 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.187e-05/0.2148, allocations: 15.92 kB / 0.8609 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002493/0.2151, allocations: 227.1 kB / 0.8612 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2151, allocations: 0 / 0.8612 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004468/0.2155, allocations: 135.6 kB / 0.8613 GB, free: 10.34 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (expVes.m,expVes.H,vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003257/0.2158, allocations: 187.2 kB / 0.8615 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005644/0.2164, allocations: 251.8 kB / 0.8617 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2164, allocations: 128 / 0.8617 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001836/0.2166, allocations: 67.95 kB / 0.8618 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009109/0.2175, allocations: 196.8 kB / 0.862 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.219, allocations: 0.7471 MB / 0.8627 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001909/0.2192, allocations: 189 kB / 0.8629 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002236/0.2194, allocations: 55.27 kB / 0.8629 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.833e-05/0.2195, allocations: 35.42 kB / 0.863 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of SimCode: time 7.21e-07/0.2195, allocations: 4 kB / 0.863 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of Templates: time 0.01453/0.2341, allocations: 7.701 MB / 0.8705 GB, free: 1.066 MB / 0.6075 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.sim & ./BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.641627037897706] Failed to read output from testmodel.py, exit status != 0: 0.24185730144381523 0.25792913300000003 0.053330479 Calling exit ...