Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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.001821/0.001821, allocations: 79.75 kB / 19.18 MB, free: 2.516 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.002265/0.002265, allocations: 163 kB / 22.46 MB, free: 5.375 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.578/1.578, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.9224/0.9224, allocations: 110.3 MB / 369.4 MB, free: 1.18 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel") translateModel(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.5477 GB, free: 9.867 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.485e-05/2.644e-05, allocations: 2.281 kB / 0.5477 GB, free: 9.863 MB / 462.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.01743/0.01745, allocations: 13.4 MB / 0.5608 GB, free: 12.42 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005891/0.02334, allocations: 3.39 MB / 0.5641 GB, free: 9.02 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004958/0.02384, allocations: 27.75 kB / 0.5642 GB, free: 8.992 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006705/0.02451, allocations: 206.5 kB / 0.5644 GB, free: 8.789 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001619/0.02613, allocations: 0.6409 MB / 0.565 GB, free: 8.145 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00105/0.02718, allocations: 420.5 kB / 0.5654 GB, free: 7.738 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001668/0.02885, allocations: 1.106 MB / 0.5665 GB, free: 6.629 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004697/0.02932, allocations: 260.9 kB / 0.5667 GB, free: 6.375 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001305/0.03062, allocations: 0.5142 MB / 0.5672 GB, free: 5.859 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004571/0.03108, allocations: 279.1 kB / 0.5675 GB, free: 5.586 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.702e-05/0.03115, allocations: 32 kB / 0.5675 GB, free: 5.555 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005068/0.03165, allocations: 223.4 kB / 0.5677 GB, free: 5.336 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001369/0.03179, allocations: 103.5 kB / 0.5678 GB, free: 5.234 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000215/0.03201, allocations: 139.7 kB / 0.568 GB, free: 5.098 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000989/0.03299, allocations: 0.6387 MB / 0.5686 GB, free: 4.457 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.033, allocations: 0 / 0.5686 GB, free: 4.457 MB / 478.1 MB Notification: Performance of FrontEnd: time 4.068e-06/0.033, allocations: 3.984 kB / 0.5686 GB, free: 4.453 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.03301, allocations: 0 / 0.5686 GB, free: 4.453 MB / 478.1 MB 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.001415/0.03443, allocations: 0.6816 MB / 0.5692 GB, free: 3.734 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.03447, allocations: 8.031 kB / 0.5693 GB, free: 3.727 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002358/0.0347, allocations: 52.64 kB / 0.5693 GB, free: 3.676 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008542/0.03556, allocations: 408 kB / 0.5697 GB, free: 3.254 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.242e-05/0.03559, allocations: 20.88 kB / 0.5697 GB, free: 3.234 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.132e-05/0.03565, allocations: 24.38 kB / 0.5697 GB, free: 3.211 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007305/0.03638, allocations: 416.4 kB / 0.5701 GB, free: 2.758 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.0364, allocations: 0 / 0.5701 GB, free: 2.758 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.19e-05/0.03644, allocations: 12 kB / 0.5701 GB, free: 2.746 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.346e-05/0.03647, allocations: 12 kB / 0.5702 GB, free: 2.734 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005393/0.037, allocations: 193.8 kB / 0.5703 GB, free: 2.543 MB / 478.1 MB 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.001874/0.03888, allocations: 1.104 MB / 0.5714 GB, free: 1.387 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004914/0.03937, allocations: 146.6 kB / 0.5716 GB, free: 1.234 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001901/0.03956, allocations: 64.81 kB / 0.5716 GB, free: 1.168 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.318e-05/0.03965, allocations: 11.98 kB / 0.5716 GB, free: 1.156 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003757/0.04003, allocations: 226.1 kB / 0.5718 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 1.634e-06/0.04003, allocations: 3.938 kB / 0.5719 GB, free: 0.8945 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007117/0.04074, allocations: 232.2 kB / 0.5721 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.618e-05/0.0408, allocations: 63.28 kB / 0.5721 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004074/0.04121, allocations: 324.5 kB / 0.5724 GB, free: 268 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.786e-05/0.04124, allocations: 33.7 kB / 0.5725 GB, free: 228 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001934/0.04144, allocations: 220.4 kB / 0.5727 GB, free: 4 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.697e-05/0.04153, allocations: 59.52 kB / 0.5727 GB, free: 15.95 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.04164, allocations: 57.64 kB / 0.5728 GB, free: 15.88 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002032/0.04184, allocations: 346.7 kB / 0.5731 GB, free: 15.54 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002474/0.04209, allocations: 97.66 kB / 0.5732 GB, free: 15.43 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003083/0.04239, allocations: 180.8 kB / 0.5734 GB, free: 15.22 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005227/0.04292, allocations: 249.5 kB / 0.5736 GB, free: 14.94 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.04292, allocations: 0 / 0.5736 GB, free: 14.94 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007146/0.04364, allocations: 340.8 kB / 0.574 GB, free: 14.59 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.195e-05/0.04368, allocations: 37.69 kB / 0.574 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.04368, allocations: 4 kB / 0.574 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.0437, allocations: 4 kB / 0.574 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002564/0.04396, allocations: 55.91 kB / 0.5741 GB, free: 14.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.04397, allocations: 4 kB / 0.5741 GB, free: 14.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002567/0.04422, allocations: 27.88 kB / 0.5741 GB, free: 14.45 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.189e-05/0.04426, allocations: 12 kB / 0.5741 GB, free: 14.44 MB / 494.1 MB 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.0002028/0.04446, allocations: 170.8 kB / 0.5743 GB, free: 14.26 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.348e-05/0.04453, allocations: 35.77 kB / 0.5743 GB, free: 14.23 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000529/0.04506, allocations: 188.4 kB / 0.5745 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.04506, allocations: 4 kB / 0.5745 GB, free: 14.03 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.04507, allocations: 0 / 0.5745 GB, free: 14.03 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006385/0.04571, allocations: 483.7 kB / 0.5749 GB, free: 13.47 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004137/0.04612, allocations: 253.1 kB / 0.5752 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.04612, allocations: 4 kB / 0.5752 GB, free: 13.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001861/0.04631, allocations: 27.98 kB / 0.5752 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.04631, allocations: 0 / 0.5752 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/0.04633, allocations: 3.984 kB / 0.5752 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.04633, allocations: 0 / 0.5752 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.04634, allocations: 3.938 kB / 0.5752 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007195/0.04706, allocations: 293 kB / 0.5755 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.04718, allocations: 51.72 kB / 0.5755 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.232e-05/0.04723, allocations: 15.98 kB / 0.5756 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000244/0.04747, allocations: 15.98 kB / 0.5756 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.479e-05/0.04754, allocations: 15.97 kB / 0.5756 GB, free: 12.76 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.143e-05/0.04756, allocations: 8 kB / 0.5756 GB, free: 12.75 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002791/0.04784, allocations: 231 kB / 0.5758 GB, free: 12.52 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.04784, allocations: 0 / 0.5758 GB, free: 12.52 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004643/0.0483, allocations: 123.7 kB / 0.5759 GB, free: 12.4 MB / 494.1 MB 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.0003637/0.04867, allocations: 203.1 kB / 0.5761 GB, free: 12.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006161/0.04928, allocations: 255.2 kB / 0.5764 GB, free: 11.93 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.04928, allocations: 0 / 0.5764 GB, free: 11.93 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002076/0.04949, allocations: 63.89 kB / 0.5764 GB, free: 11.87 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009768/0.05047, allocations: 200 kB / 0.5766 GB, free: 11.67 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001403/0.05187, allocations: 0.6507 MB / 0.5773 GB, free: 11 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001922/0.05206, allocations: 193.1 kB / 0.5774 GB, free: 10.79 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002255/0.05229, allocations: 51.25 kB / 0.5775 GB, free: 10.74 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.956e-05/0.05238, allocations: 40.48 kB / 0.5775 GB, free: 10.7 MB / 494.1 MB Notification: Performance of SimCode: time 4.21e-07/0.05238, allocations: 0 / 0.5775 GB, free: 10.7 MB / 494.1 MB Notification: Performance of Templates: time 0.01494/0.06732, allocations: 7.257 MB / 0.5846 GB, free: 3.621 MB / 494.1 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.945642493665218] Failed to read output from testmodel.py, exit status != 0: 0.0765688344836235 0.092390131 0.055977153 Calling exit ...