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.0007401/0.0007401, allocations: 76.55 kB / 19.93 MB, free: 4.637 MB / 18.57 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.0007292/0.0007292, allocations: 177.9 kB / 23.22 MB, free: 1.352 MB / 18.57 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 0.8577/0.8577, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.5438/0.5438, allocations: 110.2 MB / 370.2 MB, free: 12.63 MB / 346.7 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.5485 GB, free: 9.363 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.757e-05/2.917e-05, allocations: 2.281 kB / 0.5485 GB, free: 9.359 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.01112/0.01115, allocations: 13.41 MB / 0.5616 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.004304/0.01546, allocations: 3.389 MB / 0.5649 GB, free: 8.488 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004854/0.01594, allocations: 23.81 kB / 0.5649 GB, free: 8.465 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0006111/0.01655, allocations: 198.6 kB / 0.5651 GB, free: 8.27 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001222/0.01778, allocations: 0.6526 MB / 0.5657 GB, free: 7.613 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007209/0.0185, allocations: 406.1 kB / 0.5661 GB, free: 7.219 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001041/0.01954, allocations: 1.106 MB / 0.5672 GB, free: 6.109 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003481/0.01988, allocations: 257 kB / 0.5674 GB, free: 5.852 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001103/0.02099, allocations: 0.5123 MB / 0.5679 GB, free: 5.34 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000302/0.02129, allocations: 279.1 kB / 0.5682 GB, free: 5.066 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.925e-05/0.02133, allocations: 39.88 kB / 0.5683 GB, free: 5.027 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003776/0.02171, allocations: 223.4 kB / 0.5685 GB, free: 4.809 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 8.856e-05/0.0218, allocations: 99.59 kB / 0.5686 GB, free: 4.711 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001267/0.02192, allocations: 147.6 kB / 0.5687 GB, free: 4.566 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0006973/0.02262, allocations: 0.6348 MB / 0.5693 GB, free: 3.93 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.02263, allocations: 4 kB / 0.5693 GB, free: 3.926 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.044e-06/0.02263, allocations: 0 / 0.5693 GB, free: 3.926 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.02263, allocations: 4 kB / 0.5693 GB, free: 3.922 MB / 0.5261 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.0009253/0.02356, allocations: 0.6738 MB / 0.57 GB, free: 3.211 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.0236, allocations: 19.91 kB / 0.57 GB, free: 3.191 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001529/0.02375, allocations: 48.66 kB / 0.5701 GB, free: 3.145 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005809/0.02434, allocations: 411.9 kB / 0.5704 GB, free: 2.719 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.02436, allocations: 16.88 kB / 0.5705 GB, free: 2.699 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.182e-05/0.0244, allocations: 28.38 kB / 0.5705 GB, free: 2.672 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004377/0.02484, allocations: 420.4 kB / 0.5709 GB, free: 2.219 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.02485, allocations: 7.938 kB / 0.5709 GB, free: 2.211 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.481e-05/0.02488, allocations: 12 kB / 0.5709 GB, free: 2.199 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.876e-05/0.0249, allocations: 11.98 kB / 0.5709 GB, free: 2.188 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002867/0.02518, allocations: 193.8 kB / 0.5711 GB, free: 1.996 MB / 0.5261 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.001137/0.02632, allocations: 1.082 MB / 0.5722 GB, free: 0.8633 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003/0.02662, allocations: 154.6 kB / 0.5723 GB, free: 0.7031 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.584e-05/0.02671, allocations: 68.75 kB / 0.5724 GB, free: 0.6328 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 8.416e-05/0.0268, allocations: 4 kB / 0.5724 GB, free: 0.6289 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002356/0.02703, allocations: 239.2 kB / 0.5726 GB, free: 368 kB / 0.5261 GB Notification: Performance of pre-optimization done (n=15): time 1.983e-06/0.02704, allocations: 0 / 0.5726 GB, free: 368 kB / 0.5261 GB Notification: Performance of matching and sorting (n=15): time 0.0003988/0.02744, allocations: 228.3 kB / 0.5728 GB, free: 136 kB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.02748, allocations: 63.33 kB / 0.5729 GB, free: 60 kB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002492/0.02773, allocations: 328.4 kB / 0.5732 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.02775, allocations: 29.7 kB / 0.5732 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.02787, allocations: 224.4 kB / 0.5734 GB, free: 15.47 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.642e-05/0.0279, allocations: 55.53 kB / 0.5735 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.086e-05/0.02796, allocations: 57.66 kB / 0.5735 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.02807, allocations: 346.8 kB / 0.5739 GB, free: 15.01 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.02819, allocations: 101.6 kB / 0.574 GB, free: 14.9 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.02834, allocations: 176.5 kB / 0.5741 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002439/0.02858, allocations: 240.2 kB / 0.5744 GB, free: 14.42 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.167e-06/0.02859, allocations: 3.938 kB / 0.5744 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003595/0.02895, allocations: 343.2 kB / 0.5747 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 4.598e-05/0.02899, allocations: 33.7 kB / 0.5747 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.029, allocations: 4 kB / 0.5747 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.02902, allocations: 7.938 kB / 0.5747 GB, free: 14.01 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.02915, allocations: 55.89 kB / 0.5748 GB, free: 13.96 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.02915, allocations: 7.938 kB / 0.5748 GB, free: 13.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/0.02927, allocations: 32.05 kB / 0.5748 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.882e-05/0.02929, allocations: 20 kB / 0.5749 GB, free: 13.9 MB / 0.5417 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.0001214/0.02941, allocations: 161.7 kB / 0.575 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.267e-05/0.02945, allocations: 31.81 kB / 0.575 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002959/0.02974, allocations: 188.4 kB / 0.5752 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.02975, allocations: 4 kB / 0.5752 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.02975, allocations: 0 / 0.5752 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002703/0.03002, allocations: 487.7 kB / 0.5757 GB, free: 12.94 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002462/0.03027, allocations: 245.1 kB / 0.5759 GB, free: 12.67 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.03027, allocations: 3.984 kB / 0.5759 GB, free: 12.67 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001205/0.03039, allocations: 31.92 kB / 0.576 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.03039, allocations: 0 / 0.576 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.03041, allocations: 4 kB / 0.576 GB, free: 12.63 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.686e-06/0.03041, allocations: 4 kB / 0.576 GB, free: 12.63 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.03041, allocations: 0 / 0.576 GB, free: 12.63 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003531/0.03076, allocations: 295.3 kB / 0.5762 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.288e-05/0.03083, allocations: 47.77 kB / 0.5763 GB, free: 12.28 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.708e-05/0.03086, allocations: 8 kB / 0.5763 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.03097, allocations: 16.06 kB / 0.5763 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.036e-05/0.03103, allocations: 19.91 kB / 0.5763 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.03104, allocations: 7.984 kB / 0.5763 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001556/0.0312, allocations: 231.1 kB / 0.5766 GB, free: 12 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.01e-07/0.0312, allocations: 0 / 0.5766 GB, free: 12 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003133/0.03151, allocations: 127.7 kB / 0.5767 GB, free: 11.88 MB / 0.5417 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.0002974/0.03181, allocations: 199 kB / 0.5769 GB, free: 11.67 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003194/0.03213, allocations: 248.8 kB / 0.5771 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.03213, allocations: 4 kB / 0.5771 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 9.696e-05/0.03223, allocations: 64.52 kB / 0.5772 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005283/0.03276, allocations: 200.6 kB / 0.5774 GB, free: 11.15 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.03379, allocations: 0.6794 MB / 0.578 GB, free: 10.44 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001185/0.03391, allocations: 185 kB / 0.5782 GB, free: 10.24 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.315e-05/0.03398, allocations: 40.42 kB / 0.5782 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of SimCode: time 7.52e-07/0.03398, allocations: 0 / 0.5782 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of Templates: time 0.006651/0.04064, allocations: 6.247 MB / 0.5843 GB, free: 4.02 MB / 0.5417 GB " [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.412839312106371] Failed to read output from testmodel.py, exit status != 0: 0.04699835833162069 0.059292197000000005 0.034573868 Calling exit ...