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.001004/0.001004, allocations: 80.39 kB / 20.97 MB, free: 3.57 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.001054/0.001054, allocations: 165 kB / 24.28 MB, free: 276 kB / 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 1.008/1.008, allocations: 177.1 MB / 204.6 MB, free: 5.617 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.6705/0.6705, allocations: 110.3 MB / 371.3 MB, free: 12.48 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.393e-06/1.393e-06, allocations: 0 / 475.2 MB, free: 15.25 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.079e-05/3.218e-05, allocations: 3.312 kB / 475.2 MB, free: 15.24 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.01303/0.01307, allocations: 14.95 MB / 490.1 MB, free: 5.34 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00514/0.01821, allocations: 3.711 MB / 493.8 MB, free: 2.859 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006266/0.01883, allocations: 24.78 kB / 493.8 MB, free: 2.848 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006727/0.01951, allocations: 201.9 kB / 494 MB, free: 2.734 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001546/0.02105, allocations: 0.6436 MB / 494.7 MB, free: 2.359 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00105/0.0221, allocations: 410.5 kB / 495.1 MB, free: 2.137 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001747/0.02385, allocations: 1.109 MB / 496.2 MB, free: 1.602 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004926/0.02434, allocations: 268.9 kB / 496.5 MB, free: 1.43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001275/0.02562, allocations: 0.5335 MB / 497 MB, free: 1.195 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005563/0.02617, allocations: 275.5 kB / 497.3 MB, free: 1.109 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.776e-05/0.02624, allocations: 31.72 kB / 497.3 MB, free: 1.109 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005844/0.02682, allocations: 225.5 kB / 497.5 MB, free: 1.027 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.02693, allocations: 101.2 kB / 497.6 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002022/0.02714, allocations: 150.8 kB / 497.8 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008811/0.02802, allocations: 467.5 kB / 498.2 MB, free: 0.7109 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.02802, allocations: 0 / 498.2 MB, free: 0.7109 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.02802, allocations: 0 / 498.2 MB, free: 0.7109 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.13e-05/0.02803, allocations: 1.094 kB / 498.2 MB, free: 0.7109 MB / 410.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.001198/0.02923, allocations: 0.7722 MB / 499 MB, free: 92 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.02928, allocations: 10.53 kB / 499 MB, free: 92 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002841/0.02956, allocations: 80 kB / 499.1 MB, free: 52 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007484/0.03031, allocations: 413 kB / 499.5 MB, free: 15.79 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.73e-05/0.03034, allocations: 19.47 kB / 499.5 MB, free: 15.78 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.908e-05/0.0304, allocations: 32.69 kB / 499.5 MB, free: 15.77 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005348/0.03093, allocations: 370.7 kB / 499.9 MB, free: 15.49 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.03095, allocations: 6.781 kB / 499.9 MB, free: 15.48 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.08e-05/0.03098, allocations: 10.73 kB / 499.9 MB, free: 15.48 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.575e-05/0.03102, allocations: 10.72 kB / 499.9 MB, free: 15.48 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002354/0.03125, allocations: 90.06 kB / 0.4883 GB, free: 15.46 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001583/0.03284, allocations: 1.294 MB / 0.4896 GB, free: 14.41 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002527/0.03309, allocations: 91.41 kB / 0.4896 GB, free: 14.37 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.113e-05/0.03316, allocations: 36.09 kB / 0.4897 GB, free: 14.35 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.552e-05/0.03326, allocations: 8.531 kB / 0.4897 GB, free: 14.35 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002404/0.0335, allocations: 217 kB / 0.4899 GB, free: 14.15 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 2.054e-06/0.0335, allocations: 2 kB / 0.4899 GB, free: 14.15 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.0003655/0.03386, allocations: 151.6 kB / 0.49 GB, free: 14.08 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.03391, allocations: 57.31 kB / 0.4901 GB, free: 14.02 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003257/0.03423, allocations: 355 kB / 0.4904 GB, free: 13.79 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.067e-05/0.03426, allocations: 32.14 kB / 0.4905 GB, free: 13.76 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001738/0.03444, allocations: 270.9 kB / 0.4907 GB, free: 13.53 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.01e-05/0.03449, allocations: 57.56 kB / 0.4908 GB, free: 13.48 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.023e-05/0.03458, allocations: 61.33 kB / 0.4908 GB, free: 13.44 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.03475, allocations: 0.5136 MB / 0.4913 GB, free: 12.93 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.916e-05/0.03485, allocations: 56.52 kB / 0.4914 GB, free: 12.89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001545/0.035, allocations: 169.4 kB / 0.4916 GB, free: 12.72 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002439/0.03525, allocations: 206.8 kB / 0.4917 GB, free: 12.53 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.03525, allocations: 1.031 kB / 0.4918 GB, free: 12.53 MB / 426.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004108/0.03566, allocations: 273 kB / 0.492 GB, free: 12.37 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.905e-05/0.0357, allocations: 40.92 kB / 0.4921 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.03571, allocations: 2.562 kB / 0.4921 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.03573, allocations: 4.375 kB / 0.4921 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/0.03591, allocations: 62.2 kB / 0.4921 GB, free: 12.33 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.03592, allocations: 6.531 kB / 0.4921 GB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001776/0.0361, allocations: 36.06 kB / 0.4922 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.319e-05/0.03612, allocations: 13.34 kB / 0.4922 GB, free: 12.3 MB / 426.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.0001305/0.03625, allocations: 171.1 kB / 0.4923 GB, free: 12.13 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.587e-05/0.03631, allocations: 39.38 kB / 0.4924 GB, free: 12.11 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002525/0.03656, allocations: 140 kB / 0.4925 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.03656, allocations: 3.531 kB / 0.4925 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.03657, allocations: 0 / 0.4925 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002549/0.03682, allocations: 435 kB / 0.4929 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000347/0.03717, allocations: 257.6 kB / 0.4932 GB, free: 11.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.03717, allocations: 1.344 kB / 0.4932 GB, free: 11.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.03728, allocations: 26.22 kB / 0.4932 GB, free: 11.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.03728, allocations: 1.375 kB / 0.4932 GB, free: 11.39 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.427e-05/0.03731, allocations: 9.641 kB / 0.4932 GB, free: 11.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.03731, allocations: 0 / 0.4932 GB, free: 11.39 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.03731, allocations: 1.781 kB / 0.4932 GB, free: 11.39 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002989/0.03761, allocations: 206.3 kB / 0.4934 GB, free: 11.26 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.857e-05/0.0377, allocations: 42.66 kB / 0.4934 GB, free: 11.24 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.843e-05/0.03774, allocations: 4.969 kB / 0.4934 GB, free: 11.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.03787, allocations: 12.38 kB / 0.4935 GB, free: 11.23 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.093e-05/0.03793, allocations: 18.3 kB / 0.4935 GB, free: 11.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.799e-05/0.03795, allocations: 7.953 kB / 0.4935 GB, free: 11.23 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001936/0.03814, allocations: 239.9 kB / 0.4937 GB, free: 11.08 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03814, allocations: 0 / 0.4937 GB, free: 11.08 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004594/0.0386, allocations: 127.8 kB / 0.4938 GB, free: 11.05 MB / 426.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.0003206/0.03892, allocations: 191.6 kB / 0.494 GB, free: 10.94 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002897/0.03921, allocations: 198.8 kB / 0.4942 GB, free: 10.81 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.03921, allocations: 1.281 kB / 0.4942 GB, free: 10.81 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.387e-05/0.0393, allocations: 48.03 kB / 0.4943 GB, free: 10.79 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000707/0.04, allocations: 211.4 kB / 0.4945 GB, free: 10.74 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/0.04139, allocations: 0.6326 MB / 0.4951 GB, free: 10.35 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.58e-05/0.04146, allocations: 103.5 kB / 0.4952 GB, free: 10.27 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002383/0.0417, allocations: 71.84 kB / 0.4952 GB, free: 10.25 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.035e-05/0.04177, allocations: 34.08 kB / 0.4953 GB, free: 10.23 MB / 426.7 MB Notification: Performance of SimCode: time 1.032e-06/0.04177, allocations: 0 / 0.4953 GB, free: 10.23 MB / 426.7 MB Notification: Performance of Templates: time 0.01311/0.05489, allocations: 7.337 MB / 0.5024 GB, free: 7.941 MB / 426.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.873029440874234]