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.001647/0.001647, allocations: 78.73 kB / 19.01 MB, free: 2.863 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.001898/0.001898, allocations: 160.6 kB / 22.26 MB, free: 5.113 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.446/1.446, allocations: 177.2 MB / 202.6 MB, free: 9.262 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.002438/0.002438, allocations: 231 kB / 259.2 MB, free: 0.582 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.06/1.06, allocations: 138.5 MB / 454.2 MB, free: 2.02 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.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.002978/0.002978, allocations: 99.84 kB / 0.6466 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3921/0.395, allocations: 95.36 MB / 0.7397 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Examples.ExpansionVessel): time 0.01854/0.4136, allocations: 13.41 MB / 0.7528 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005786/0.4194, allocations: 3.399 MB / 0.7561 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004356/0.4198, allocations: 27.81 kB / 0.7561 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006469/0.4205, allocations: 198.7 kB / 0.7563 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001437/0.4219, allocations: 0.622 MB / 0.7569 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009276/0.4228, allocations: 414.6 kB / 0.7573 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001441/0.4243, allocations: 1.103 MB / 0.7584 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004121/0.4247, allocations: 253.7 kB / 0.7586 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001286/0.426, allocations: 0.5483 MB / 0.7592 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004995/0.4265, allocations: 306.5 kB / 0.7595 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.637e-05/0.4265, allocations: 32 kB / 0.7595 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005294/0.427, allocations: 215.6 kB / 0.7597 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001359/0.4272, allocations: 99.55 kB / 0.7598 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002155/0.4274, allocations: 183.2 kB / 0.76 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0009082/0.4283, allocations: 0.6083 MB / 0.7606 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.4283, allocations: 0 / 0.7606 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4283, allocations: 0 / 0.7606 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.674e-06/0.4283, allocations: 0 / 0.7606 GB, free: 9.586 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.001284/0.4296, allocations: 0.6932 MB / 0.7613 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.4296, allocations: 9.344 kB / 0.7613 GB, free: 8.848 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001905/0.4298, allocations: 48.7 kB / 0.7613 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007791/0.4306, allocations: 408.7 kB / 0.7617 GB, free: 8.375 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.4306, allocations: 20.88 kB / 0.7617 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.241e-05/0.4307, allocations: 27.94 kB / 0.7617 GB, free: 8.328 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006921/0.4314, allocations: 412 kB / 0.7621 GB, free: 7.883 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.4314, allocations: 4 kB / 0.7621 GB, free: 7.879 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.263e-05/0.4314, allocations: 8 kB / 0.7621 GB, free: 7.871 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.101e-05/0.4315, allocations: 8 kB / 0.7622 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004896/0.432, allocations: 193.8 kB / 0.7623 GB, free: 7.676 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.001718/0.4337, allocations: 1.104 MB / 0.7634 GB, free: 6.52 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004625/0.4341, allocations: 146.6 kB / 0.7636 GB, free: 6.367 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001838/0.4343, allocations: 64.08 kB / 0.7636 GB, free: 6.305 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001029/0.4344, allocations: 11.98 kB / 0.7636 GB, free: 6.293 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003917/0.4348, allocations: 233.3 kB / 0.7639 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.874e-06/0.4348, allocations: 0 / 0.7639 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0006995/0.4355, allocations: 225.3 kB / 0.7641 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/0.4356, allocations: 63.34 kB / 0.7641 GB, free: 5.73 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003978/0.436, allocations: 336.4 kB / 0.7644 GB, free: 5.395 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.224e-05/0.436, allocations: 29.7 kB / 0.7645 GB, free: 5.359 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002033/0.4362, allocations: 224.4 kB / 0.7647 GB, free: 5.137 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.948e-05/0.4363, allocations: 55.58 kB / 0.7647 GB, free: 5.082 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.407e-05/0.4364, allocations: 53.66 kB / 0.7648 GB, free: 5.023 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001836/0.4365, allocations: 342.8 kB / 0.7651 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002373/0.4368, allocations: 97.64 kB / 0.7652 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002954/0.4371, allocations: 184 kB / 0.7654 GB, free: 4.359 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004683/0.4375, allocations: 242.1 kB / 0.7656 GB, free: 4.086 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.4375, allocations: 0 / 0.7656 GB, free: 4.086 MB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006745/0.4382, allocations: 348.5 kB / 0.766 GB, free: 3.727 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.003e-05/0.4383, allocations: 33.7 kB / 0.766 GB, free: 3.688 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.4383, allocations: 0 / 0.766 GB, free: 3.688 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.4383, allocations: 4 kB / 0.766 GB, free: 3.684 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002481/0.4385, allocations: 72.2 kB / 0.7661 GB, free: 3.613 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.4386, allocations: 7.938 kB / 0.7661 GB, free: 3.605 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002471/0.4388, allocations: 31.77 kB / 0.7661 GB, free: 3.574 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.787e-05/0.4388, allocations: 12 kB / 0.7661 GB, free: 3.562 MB / 0.5919 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.0001849/0.439, allocations: 157.8 kB / 0.7663 GB, free: 3.398 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.915e-05/0.4391, allocations: 31.81 kB / 0.7663 GB, free: 3.367 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005085/0.4396, allocations: 200.3 kB / 0.7665 GB, free: 3.16 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.4396, allocations: 0 / 0.7665 GB, free: 3.16 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.4396, allocations: 3.938 kB / 0.7665 GB, free: 3.156 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005917/0.4402, allocations: 483.1 kB / 0.7669 GB, free: 2.602 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003762/0.4406, allocations: 249.1 kB / 0.7672 GB, free: 2.328 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.4406, allocations: 0 / 0.7672 GB, free: 2.328 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001854/0.4407, allocations: 35.91 kB / 0.7672 GB, free: 2.293 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.4408, allocations: 0 / 0.7672 GB, free: 2.293 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.758e-05/0.4408, allocations: 4 kB / 0.7672 GB, free: 2.289 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.768e-06/0.4408, allocations: 8 kB / 0.7672 GB, free: 2.281 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4408, allocations: 0 / 0.7672 GB, free: 2.281 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006588/0.4414, allocations: 288.6 kB / 0.7675 GB, free: 1.98 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.4415, allocations: 43.83 kB / 0.7675 GB, free: 1.938 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.1e-05/0.4416, allocations: 0 / 0.7675 GB, free: 1.938 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002271/0.4418, allocations: 15.98 kB / 0.7676 GB, free: 1.922 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.437e-05/0.4419, allocations: 15.97 kB / 0.7676 GB, free: 1.906 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.646e-05/0.4419, allocations: 19.92 kB / 0.7676 GB, free: 1.887 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002722/0.4422, allocations: 227.1 kB / 0.7678 GB, free: 1.668 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.4422, allocations: 3.938 kB / 0.7678 GB, free: 1.664 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004964/0.4427, allocations: 135.6 kB / 0.7679 GB, free: 1.531 MB / 0.5919 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.0003623/0.443, allocations: 195 kB / 0.7681 GB, free: 1.332 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005916/0.4436, allocations: 249.3 kB / 0.7684 GB, free: 1.07 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4436, allocations: 4.188 kB / 0.7684 GB, free: 1.066 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001921/0.4438, allocations: 63.89 kB / 0.7684 GB, free: 1.004 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009527/0.4448, allocations: 196.3 kB / 0.7686 GB, free: 0.8203 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.4462, allocations: 0.7351 MB / 0.7693 GB, free: 60 kB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002278/0.4465, allocations: 189.1 kB / 0.7695 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000232/0.4467, allocations: 59.27 kB / 0.7696 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.423e-05/0.4468, allocations: 40.42 kB / 0.7696 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of SimCode: time 4.01e-07/0.4468, allocations: 0 / 0.7696 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of Templates: time 0.01379/0.4606, allocations: 7.205 MB / 0.7767 GB, free: 8.734 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.241534449160099] Failed to read output from testmodel.py, exit status != 0: 0.46889940463006496 0.485008082 0.053247834 Calling exit ...