Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel") translateModel(IBPSA.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 107 kB / 15.99 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 195 kB / 16.91 MB, free: 6.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8113/0.8113, allocations: 126.1 MB / 416.8 MB, free: 13 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 63.89 kB / 0.4945 GB, free: 3.848 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3893/0.3906, allocations: 78.7 MB / 0.5713 GB, free: 31.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.01408/0.4048, allocations: 14.34 MB / 0.5853 GB, free: 20.8 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005091/0.4099, allocations: 3.623 MB / 0.5889 GB, free: 17.87 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007257/0.4107, allocations: 18.09 kB / 0.5889 GB, free: 17.86 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006893/0.4114, allocations: 173.3 kB / 0.589 GB, free: 17.72 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001537/0.4129, allocations: 0.5403 MB / 0.5896 GB, free: 17.3 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009018/0.4139, allocations: 355.7 kB / 0.5899 GB, free: 17.05 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001358/0.4152, allocations: 1.109 MB / 0.591 GB, free: 16.41 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004323/0.4157, allocations: 316.5 kB / 0.5913 GB, free: 16.21 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001082/0.4168, allocations: 384.7 kB / 0.5917 GB, free: 16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004009/0.4172, allocations: 317.6 kB / 0.592 GB, free: 15.8 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.158e-05/0.4172, allocations: 32.88 kB / 0.592 GB, free: 15.8 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006676/0.4179, allocations: 266.6 kB / 0.5922 GB, free: 15.67 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.418, allocations: 88.5 kB / 0.5923 GB, free: 15.6 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002128/0.4182, allocations: 212.4 kB / 0.5925 GB, free: 15.46 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008162/0.4191, allocations: 0.5922 MB / 0.5931 GB, free: 15.07 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.4191, allocations: 0 / 0.5931 GB, free: 15.07 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.4191, allocations: 0 / 0.5931 GB, free: 15.07 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.4191, allocations: 4.969 kB / 0.5931 GB, free: 15.07 MB / 446.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.001117/0.4202, allocations: 0.7485 MB / 0.5938 GB, free: 14.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.4203, allocations: 8.625 kB / 0.5939 GB, free: 14.41 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002057/0.4205, allocations: 56.39 kB / 0.5939 GB, free: 14.38 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006649/0.4212, allocations: 476 kB / 0.5944 GB, free: 13.97 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.4212, allocations: 19.09 kB / 0.5944 GB, free: 13.96 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.469e-05/0.4213, allocations: 30.42 kB / 0.5944 GB, free: 13.95 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005559/0.4218, allocations: 304 kB / 0.5947 GB, free: 13.75 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.4219, allocations: 5.094 kB / 0.5947 GB, free: 13.75 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.428e-05/0.4219, allocations: 16.42 kB / 0.5947 GB, free: 13.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.212e-05/0.4219, allocations: 10.36 kB / 0.5947 GB, free: 13.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004606/0.4224, allocations: 195.9 kB / 0.5949 GB, free: 13.63 MB / 446.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.001536/0.4239, allocations: 1.477 MB / 0.5964 GB, free: 12.27 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004282/0.4244, allocations: 159.1 kB / 0.5965 GB, free: 12.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001683/0.4246, allocations: 66.53 kB / 0.5966 GB, free: 12.14 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001549/0.4247, allocations: 89.48 kB / 0.5967 GB, free: 12.05 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002883/0.425, allocations: 128.3 kB / 0.5968 GB, free: 11.95 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 2.024e-06/0.425, allocations: 0 / 0.5968 GB, free: 11.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006291/0.4257, allocations: 235.5 kB / 0.597 GB, free: 11.83 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/0.4257, allocations: 61.7 kB / 0.5971 GB, free: 11.76 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003225/0.426, allocations: 330.6 kB / 0.5974 GB, free: 11.54 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.4261, allocations: 35.42 kB / 0.5974 GB, free: 11.51 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.4262, allocations: 224.2 kB / 0.5976 GB, free: 11.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.191e-05/0.4263, allocations: 46.39 kB / 0.5977 GB, free: 11.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.984e-05/0.4264, allocations: 57.86 kB / 0.5977 GB, free: 11.22 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.834e-05/0.4264, allocations: 341.2 kB / 0.5981 GB, free: 10.89 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001871/0.4266, allocations: 72.77 kB / 0.5981 GB, free: 10.86 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002083/0.4268, allocations: 140.4 kB / 0.5983 GB, free: 10.73 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003891/0.4272, allocations: 260.9 kB / 0.5985 GB, free: 10.52 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.4273, allocations: 0 / 0.5985 GB, free: 10.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005664/0.4278, allocations: 307.6 kB / 0.5988 GB, free: 10.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.448e-05/0.4279, allocations: 35.42 kB / 0.5988 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.4279, allocations: 2.594 kB / 0.5988 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.4279, allocations: 4.844 kB / 0.5988 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002258/0.4281, allocations: 58.33 kB / 0.5989 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.4282, allocations: 11.17 kB / 0.5989 GB, free: 10.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003065/0.4285, allocations: 34.55 kB / 0.5989 GB, free: 10.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.672e-05/0.4285, allocations: 16.5 kB / 0.599 GB, free: 10.25 MB / 446.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.0001444/0.4287, allocations: 159.5 kB / 0.5991 GB, free: 10.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.305e-05/0.4287, allocations: 41.28 kB / 0.5991 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004126/0.4291, allocations: 188.5 kB / 0.5993 GB, free: 9.883 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.4292, allocations: 4 kB / 0.5993 GB, free: 9.879 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.4292, allocations: 0 / 0.5993 GB, free: 9.879 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003681/0.4295, allocations: 495.6 kB / 0.5998 GB, free: 9.309 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003594/0.4299, allocations: 345.4 kB / 0.6001 GB, free: 8.922 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.4299, allocations: 0 / 0.6001 GB, free: 8.922 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000153/0.4301, allocations: 31.97 kB / 0.6002 GB, free: 8.891 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.4301, allocations: 3.938 kB / 0.6002 GB, free: 8.887 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.4301, allocations: 8 kB / 0.6002 GB, free: 8.879 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.4301, allocations: 0 / 0.6002 GB, free: 8.879 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.4301, allocations: 0 / 0.6002 GB, free: 8.879 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005345/0.4307, allocations: 290.4 kB / 0.6005 GB, free: 8.578 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.4308, allocations: 120.8 kB / 0.6006 GB, free: 8.441 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.075e-05/0.4308, allocations: 15.88 kB / 0.6006 GB, free: 8.426 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002351/0.4311, allocations: 11.98 kB / 0.6006 GB, free: 8.414 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.521e-05/0.4312, allocations: 23.91 kB / 0.6006 GB, free: 8.391 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-05/0.4312, allocations: 12 kB / 0.6006 GB, free: 8.379 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001793/0.4314, allocations: 239.2 kB / 0.6009 GB, free: 8.152 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4314, allocations: 0 / 0.6009 GB, free: 8.152 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004283/0.4318, allocations: 120.1 kB / 0.601 GB, free: 8.035 MB / 446.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.0003253/0.4321, allocations: 181.1 kB / 0.6011 GB, free: 7.848 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004497/0.4326, allocations: 235.1 kB / 0.6014 GB, free: 7.605 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4326, allocations: 4.625 kB / 0.6014 GB, free: 7.602 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001608/0.4328, allocations: 75.89 kB / 0.6014 GB, free: 7.527 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008917/0.4337, allocations: 210.5 kB / 0.6016 GB, free: 7.336 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.435, allocations: 0.8596 MB / 0.6025 GB, free: 6.445 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001853/0.4352, allocations: 0.7918 MB / 0.6033 GB, free: 5.625 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002582/0.4354, allocations: 60.14 kB / 0.6033 GB, free: 5.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.795e-05/0.4355, allocations: 35.42 kB / 0.6033 GB, free: 5.535 MB / 446.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4355, allocations: 0 / 0.6033 GB, free: 5.535 MB / 446.1 MB Notification: Performance of Templates: time 0.01136/0.4469, allocations: 6.788 MB / 0.61 GB, free: 14.85 MB / 462.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.sim & ./IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)