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.001358/0.001358, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001439/0.001439, allocations: 155.6 kB / 23.01 MB, free: 4.602 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.379/1.379, allocations: 177.2 MB / 203.4 MB, free: 8.934 MB / 190.1 MB " [Timeout remaining time 179] 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.002472/0.002472, allocations: 238.8 kB / 260 MB, free: 448 kB / 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 0.9003/0.9003, allocations: 138.5 MB / 455 MB, free: 15.09 MB / 430.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.00307/0.00307, allocations: 99.84 kB / 0.6473 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4579/0.461, allocations: 95.35 MB / 0.7404 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Examples.ExpansionVessel): time 0.0129/0.4739, allocations: 13.47 MB / 0.7536 GB, free: 8.32 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004834/0.4787, allocations: 3.392 MB / 0.7569 GB, free: 6.023 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005971/0.4793, allocations: 24.38 kB / 0.7569 GB, free: 6.012 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006485/0.48, allocations: 204 kB / 0.7571 GB, free: 5.898 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001486/0.4814, allocations: 0.6246 MB / 0.7577 GB, free: 5.535 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009492/0.4824, allocations: 407.6 kB / 0.7581 GB, free: 5.312 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001333/0.4837, allocations: 1.107 MB / 0.7592 GB, free: 4.789 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003674/0.4841, allocations: 262.2 kB / 0.7594 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009878/0.4851, allocations: 404.6 kB / 0.7598 GB, free: 4.402 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003864/0.4855, allocations: 303.1 kB / 0.7601 GB, free: 4.227 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.959e-05/0.4855, allocations: 32.62 kB / 0.7602 GB, free: 4.227 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005396/0.4861, allocations: 222 kB / 0.7604 GB, free: 4.121 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.4862, allocations: 103.9 kB / 0.7605 GB, free: 4.039 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001799/0.4863, allocations: 173.4 kB / 0.7606 GB, free: 3.941 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0007275/0.4871, allocations: 0.6085 MB / 0.7612 GB, free: 3.547 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.4871, allocations: 5.406 kB / 0.7612 GB, free: 3.543 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.422e-06/0.4871, allocations: 0 / 0.7612 GB, free: 3.543 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.386e-06/0.4871, allocations: 0 / 0.7612 GB, free: 3.543 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.0009925/0.4881, allocations: 0.6876 MB / 0.7619 GB, free: 2.961 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.4881, allocations: 10.56 kB / 0.7619 GB, free: 2.961 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001794/0.4883, allocations: 49.69 kB / 0.762 GB, free: 2.938 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006369/0.4889, allocations: 408.2 kB / 0.7623 GB, free: 2.609 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.489, allocations: 19.34 kB / 0.7624 GB, free: 2.602 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.927e-05/0.489, allocations: 37.92 kB / 0.7624 GB, free: 2.582 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000515/0.4895, allocations: 413 kB / 0.7628 GB, free: 2.25 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.4895, allocations: 0 / 0.7628 GB, free: 2.25 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.89e-05/0.4896, allocations: 11 kB / 0.7628 GB, free: 2.242 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.961e-05/0.4896, allocations: 12.19 kB / 0.7628 GB, free: 2.238 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004197/0.49, allocations: 193.6 kB / 0.763 GB, free: 2.148 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.001326/0.4913, allocations: 1.095 MB / 0.7641 GB, free: 1.215 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004162/0.4917, allocations: 150.2 kB / 0.7642 GB, free: 1.129 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001622/0.4919, allocations: 63.16 kB / 0.7643 GB, free: 1.094 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 9.322e-05/0.492, allocations: 13.94 kB / 0.7643 GB, free: 1.086 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002795/0.4923, allocations: 229.7 kB / 0.7645 GB, free: 0.8672 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.553e-06/0.4923, allocations: 0 / 0.7645 GB, free: 0.8672 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0006118/0.4929, allocations: 237.5 kB / 0.7647 GB, free: 0.7422 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.4929, allocations: 53.72 kB / 0.7648 GB, free: 0.6797 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002891/0.4932, allocations: 338 kB / 0.7651 GB, free: 472 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.4932, allocations: 31.92 kB / 0.7651 GB, free: 436 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.4933, allocations: 224.7 kB / 0.7654 GB, free: 228 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.688e-05/0.4934, allocations: 51.5 kB / 0.7654 GB, free: 184 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.329e-05/0.4935, allocations: 57 kB / 0.7655 GB, free: 140 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.4936, allocations: 342 kB / 0.7658 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002135/0.4938, allocations: 96.12 kB / 0.7659 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002654/0.4941, allocations: 173 kB / 0.766 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004423/0.4945, allocations: 259.9 kB / 0.7663 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.4945, allocations: 1 kB / 0.7663 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006352/0.4952, allocations: 335 kB / 0.7666 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.578e-05/0.4952, allocations: 40.22 kB / 0.7666 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.4952, allocations: 3.562 kB / 0.7667 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.4952, allocations: 3.406 kB / 0.7667 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002512/0.4955, allocations: 54.81 kB / 0.7667 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/0.4955, allocations: 15.41 kB / 0.7667 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002859/0.4958, allocations: 36.05 kB / 0.7668 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.654e-05/0.4958, allocations: 9.375 kB / 0.7668 GB, free: 15.07 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.0001826/0.496, allocations: 162.4 kB / 0.7669 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.956e-05/0.496, allocations: 31.06 kB / 0.7669 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004988/0.4965, allocations: 194.4 kB / 0.7671 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.4965, allocations: 1.438 kB / 0.7671 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.4966, allocations: 8.938 kB / 0.7671 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005553/0.4971, allocations: 483 kB / 0.7676 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004092/0.4975, allocations: 248 kB / 0.7678 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.4975, allocations: 0 / 0.7678 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001881/0.4977, allocations: 31.3 kB / 0.7679 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.4977, allocations: 0.9688 kB / 0.7679 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/0.4977, allocations: 6.234 kB / 0.7679 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.4977, allocations: 0 / 0.7679 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.4977, allocations: 9.188 kB / 0.7679 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006591/0.4984, allocations: 291.2 kB / 0.7682 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.4985, allocations: 40.55 kB / 0.7682 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.708e-05/0.4986, allocations: 5.5 kB / 0.7682 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002329/0.4988, allocations: 16.97 kB / 0.7682 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.891e-05/0.4989, allocations: 18.22 kB / 0.7682 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/0.4989, allocations: 9.062 kB / 0.7683 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002705/0.4991, allocations: 235.4 kB / 0.7685 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4991, allocations: 0 / 0.7685 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004965/0.4996, allocations: 127.1 kB / 0.7686 GB, free: 13.63 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.000341/0.5, allocations: 206 kB / 0.7688 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005508/0.5005, allocations: 245.1 kB / 0.769 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.5005, allocations: 4.562 kB / 0.769 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001864/0.5007, allocations: 61.62 kB / 0.7691 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009043/0.5016, allocations: 191.7 kB / 0.7693 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.5031, allocations: 0.7482 MB / 0.77 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001944/0.5033, allocations: 189.8 kB / 0.7702 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002274/0.5035, allocations: 61.61 kB / 0.7702 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.805e-05/0.5036, allocations: 29.59 kB / 0.7703 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of SimCode: time 3.81e-07/0.5036, allocations: 5.094 kB / 0.7703 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of Templates: time 0.01697/0.5206, allocations: 7.208 MB / 0.7773 GB, free: 8.875 MB / 0.6075 GB " [Timeout remaining time 659] 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 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.033616345957853] Failed to read output from testmodel.py, exit status != 0: 0.5288402390433475 0.553333532 0.061429825 Calling exit ...