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.000666/0.000666, allocations: 81.05 kB / 10.01 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009318/0.001598, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006793/0.0006793, allocations: 164.8 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008877/0.001567, allocations: 479.5 kB / 11.83 MB, free: 2.34 MB / 13.93 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.9396/0.9396, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09133/1.031, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.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.6253/0.6253, allocations: 110.3 MB / 354.5 MB, free: 12.29 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.06486/0.6902, allocations: 34.95 MB / 389.4 MB, free: 9.25 MB / 378.7 MB " [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.262e-06/1.262e-06, allocations: 0 / 390.7 MB, free: 7.93 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.067e-06/1.033e-05, allocations: 2.312 kB / 390.7 MB, free: 7.926 MB / 378.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.00608/0.00609, allocations: 7.279 MB / 398 MB, free: 0.6055 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003357/0.009447, allocations: 2.529 MB / 400.5 MB, free: 14.07 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003016/0.009749, allocations: 23.81 kB / 400.6 MB, free: 14.04 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002992/0.01005, allocations: 135 kB / 400.7 MB, free: 13.91 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007708/0.01082, allocations: 0.5203 MB / 401.2 MB, free: 13.39 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004819/0.0113, allocations: 359.1 kB / 401.6 MB, free: 13.04 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.000809/0.01211, allocations: 1.071 MB / 402.6 MB, free: 11.96 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004747/0.01258, allocations: 309.5 kB / 402.9 MB, free: 11.65 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005556/0.01314, allocations: 0.5805 MB / 403.5 MB, free: 11.07 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002632/0.0134, allocations: 267.1 kB / 403.8 MB, free: 10.81 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.631e-05/0.01344, allocations: 32 kB / 403.8 MB, free: 10.78 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002195/0.01366, allocations: 143.6 kB / 404 MB, free: 10.64 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 7.233e-05/0.01373, allocations: 79.67 kB / 404 MB, free: 10.56 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.01384, allocations: 119.8 kB / 404.2 MB, free: 10.44 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004228/0.01426, allocations: 370.7 kB / 404.5 MB, free: 10.08 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.241e-05/0.01427, allocations: 0 / 404.5 MB, free: 10.08 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.01427, allocations: 4 kB / 404.5 MB, free: 10.07 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.733e-05/0.01429, allocations: 0 / 404.5 MB, free: 10.07 MB / 394.7 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.0007826/0.01507, allocations: 0.7346 MB / 405.3 MB, free: 9.305 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.862e-05/0.0151, allocations: 8.031 kB / 405.3 MB, free: 9.297 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001616/0.01526, allocations: 137.9 kB / 405.4 MB, free: 9.145 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003263/0.01559, allocations: 308.3 kB / 405.7 MB, free: 8.816 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.01561, allocations: 20.88 kB / 405.7 MB, free: 8.797 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.781e-05/0.01564, allocations: 32.33 kB / 405.8 MB, free: 8.766 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002735/0.01592, allocations: 343.9 kB / 406.1 MB, free: 8.379 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.01593, allocations: 3.938 kB / 406.1 MB, free: 8.375 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.946e-05/0.01595, allocations: 19.98 kB / 406.1 MB, free: 8.355 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.265e-05/0.01597, allocations: 11.98 kB / 406.1 MB, free: 8.344 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.96e-05/0.01607, allocations: 69.39 kB / 406.2 MB, free: 8.281 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007913/0.01686, allocations: 0.9304 MB / 407.1 MB, free: 7.305 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/0.01699, allocations: 78.53 kB / 407.2 MB, free: 7.219 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.122e-05/0.01703, allocations: 20.84 kB / 407.2 MB, free: 7.195 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.881e-05/0.01707, allocations: 11.98 kB / 407.2 MB, free: 7.184 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001459/0.01722, allocations: 190.2 kB / 407.4 MB, free: 6.961 MB / 394.7 MB Notification: Performance of pre-optimization done (n=15): time 1.102e-06/0.01722, allocations: 0 / 407.4 MB, free: 6.961 MB / 394.7 MB Notification: Performance of matching and sorting (n=15): time 0.000162/0.01738, allocations: 117.4 kB / 407.5 MB, free: 6.84 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/0.01741, allocations: 55.41 kB / 407.6 MB, free: 6.773 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.01759, allocations: 300.5 kB / 407.9 MB, free: 6.465 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.01761, allocations: 33.7 kB / 407.9 MB, free: 6.426 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.498e-05/0.0177, allocations: 201 kB / 408.1 MB, free: 6.227 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.101e-05/0.01773, allocations: 47.58 kB / 408.2 MB, free: 6.18 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.249e-05/0.01778, allocations: 53.67 kB / 408.2 MB, free: 6.121 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.22e-05/0.01787, allocations: 350.7 kB / 408.5 MB, free: 5.77 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.421e-05/0.01792, allocations: 53.69 kB / 408.6 MB, free: 5.711 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.224e-05/0.01799, allocations: 127 kB / 408.7 MB, free: 5.547 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.01811, allocations: 181.7 kB / 408.9 MB, free: 5.328 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.01811, allocations: 0 / 408.9 MB, free: 5.328 MB / 394.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001725/0.01829, allocations: 217 kB / 409.1 MB, free: 5.098 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.896e-05/0.01831, allocations: 37.69 kB / 409.2 MB, free: 5.055 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.01832, allocations: 8 kB / 409.2 MB, free: 5.047 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.01834, allocations: 4 kB / 409.2 MB, free: 5.043 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001865/0.01852, allocations: 59.91 kB / 409.2 MB, free: 4.984 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.01853, allocations: 4 kB / 409.2 MB, free: 4.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.01863, allocations: 35.77 kB / 409.3 MB, free: 4.945 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.01865, allocations: 12 kB / 409.3 MB, free: 4.934 MB / 394.7 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.0001064/0.01876, allocations: 136.6 kB / 409.4 MB, free: 4.789 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.076e-05/0.01879, allocations: 19.97 kB / 409.4 MB, free: 4.77 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001441/0.01893, allocations: 116.4 kB / 409.5 MB, free: 4.648 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.01893, allocations: 0 / 409.5 MB, free: 4.648 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.01893, allocations: 0 / 409.5 MB, free: 4.648 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001984/0.01913, allocations: 407.8 kB / 409.9 MB, free: 4.164 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002/0.01933, allocations: 172.5 kB / 410.1 MB, free: 3.977 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.01933, allocations: 0 / 410.1 MB, free: 3.977 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/0.01946, allocations: 35.91 kB / 410.1 MB, free: 3.941 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.892e-05/0.01953, allocations: 35.8 kB / 410.2 MB, free: 3.906 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.01953, allocations: 8 kB / 410.2 MB, free: 3.898 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.01954, allocations: 0 / 410.2 MB, free: 3.898 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.01954, allocations: 0 / 410.2 MB, free: 3.898 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.01955, allocations: 3.938 kB / 410.2 MB, free: 3.895 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001923/0.01974, allocations: 159.7 kB / 410.3 MB, free: 3.719 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.078e-05/0.01977, allocations: 0 / 410.3 MB, free: 3.719 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.01989, allocations: 15.98 kB / 410.4 MB, free: 3.703 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.009e-05/0.01993, allocations: 20 kB / 410.4 MB, free: 3.684 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.01994, allocations: 4 kB / 410.4 MB, free: 3.68 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001062/0.02004, allocations: 111.4 kB / 410.5 MB, free: 3.566 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02004, allocations: 4 kB / 410.5 MB, free: 3.562 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002964/0.02034, allocations: 115.8 kB / 410.6 MB, free: 3.449 MB / 394.7 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.0002689/0.02061, allocations: 132.2 kB / 410.7 MB, free: 3.312 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001893/0.0208, allocations: 177.7 kB / 410.9 MB, free: 3.117 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/0.02081, allocations: 4 kB / 410.9 MB, free: 3.113 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.724e-05/0.02088, allocations: 49.77 kB / 411 MB, free: 3.062 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009954/0.02187, allocations: 1.324 MB / 412.3 MB, free: 1.48 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003148/0.02502, allocations: 0.5786 MB / 412.9 MB, free: 0.875 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.658e-05/0.02508, allocations: 96.61 kB / 413 MB, free: 0.7617 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001711/0.02525, allocations: 55.19 kB / 413 MB, free: 0.7031 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003076/0.02555, allocations: 177.2 kB / 413.2 MB, free: 0.5312 MB / 394.7 MB Notification: Performance of SimCode: time 6.11e-07/0.02555, allocations: 0 / 413.2 MB, free: 0.5312 MB / 394.7 MB Notification: Performance of Templates: time 0.01086/0.03641, allocations: 7.612 MB / 420.8 MB, free: 8.938 MB / 410.7 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=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2260823538526893]