Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel") translateModel(IDEAS.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001082/0.001082, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001352/0.001352, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.276/1.276, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7702/0.7702, allocations: 135.1 MB / 426.3 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 63.88 kB / 0.5067 GB, free: 7.684 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.3524, allocations: 80.91 MB / 0.5857 GB, free: 25.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.0116/0.3641, allocations: 14.44 MB / 0.5998 GB, free: 12.05 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00399/0.3681, allocations: 3.64 MB / 0.6034 GB, free: 8.426 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005108/0.3686, allocations: 15.94 kB / 0.6034 GB, free: 8.41 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000769/0.3694, allocations: 204.1 kB / 0.6036 GB, free: 8.211 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00158/0.3711, allocations: 0.5889 MB / 0.6042 GB, free: 7.625 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009541/0.372, allocations: 394.8 kB / 0.6046 GB, free: 7.242 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001378/0.3734, allocations: 1.085 MB / 0.6056 GB, free: 6.156 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004468/0.3739, allocations: 323.4 kB / 0.6059 GB, free: 5.844 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008925/0.3748, allocations: 391.2 kB / 0.6063 GB, free: 5.465 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003019/0.3751, allocations: 308.3 kB / 0.6066 GB, free: 5.164 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.278e-05/0.3752, allocations: 32 kB / 0.6066 GB, free: 5.133 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004648/0.3756, allocations: 259.5 kB / 0.6069 GB, free: 4.879 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.329e-05/0.3757, allocations: 87.69 kB / 0.607 GB, free: 4.793 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001676/0.3759, allocations: 219.5 kB / 0.6072 GB, free: 4.578 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006222/0.3765, allocations: 0.5936 MB / 0.6077 GB, free: 3.988 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3765, allocations: 4.922 kB / 0.6078 GB, free: 3.984 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3766, allocations: 0 / 0.6078 GB, free: 3.984 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.3766, allocations: 4.969 kB / 0.6078 GB, free: 3.98 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.001006/0.3776, allocations: 0.7433 MB / 0.6085 GB, free: 3.184 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.3776, allocations: 13.11 kB / 0.6085 GB, free: 3.172 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001738/0.3778, allocations: 49.72 kB / 0.6085 GB, free: 3.125 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005795/0.3784, allocations: 470.5 kB / 0.609 GB, free: 2.625 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.3784, allocations: 20.56 kB / 0.609 GB, free: 2.605 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.232e-05/0.3785, allocations: 25.47 kB / 0.609 GB, free: 2.582 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004489/0.3789, allocations: 312.5 kB / 0.6093 GB, free: 2.258 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.3789, allocations: 3.938 kB / 0.6093 GB, free: 2.254 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.836e-05/0.379, allocations: 12 kB / 0.6094 GB, free: 2.242 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.75e-05/0.379, allocations: 8 kB / 0.6094 GB, free: 2.234 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003751/0.3794, allocations: 192.6 kB / 0.6095 GB, free: 2.047 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.00138/0.3808, allocations: 1.485 MB / 0.611 GB, free: 444 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003677/0.3811, allocations: 158.9 kB / 0.6111 GB, free: 280 kB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001425/0.3813, allocations: 64.83 kB / 0.6112 GB, free: 212 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001074/0.3814, allocations: 89.94 kB / 0.6113 GB, free: 104 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002699/0.3817, allocations: 132.7 kB / 0.6114 GB, free: 15.96 MB / 462.1 MB Notification: Performance of pre-optimization done (n=15): time 1.863e-06/0.3817, allocations: 0 / 0.6114 GB, free: 15.96 MB / 462.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006254/0.3823, allocations: 234.8 kB / 0.6116 GB, free: 15.73 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/0.3824, allocations: 55.41 kB / 0.6117 GB, free: 15.66 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003791/0.3828, allocations: 353.6 kB / 0.612 GB, free: 15.3 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.126e-05/0.3828, allocations: 29.7 kB / 0.6121 GB, free: 15.27 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002313/0.3831, allocations: 219.7 kB / 0.6123 GB, free: 15.05 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.137e-05/0.3831, allocations: 43.36 kB / 0.6123 GB, free: 15 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.829e-05/0.3832, allocations: 53.61 kB / 0.6124 GB, free: 14.95 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.3834, allocations: 350.3 kB / 0.6127 GB, free: 14.6 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000185/0.3836, allocations: 67.95 kB / 0.6128 GB, free: 14.53 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002325/0.3838, allocations: 146.8 kB / 0.6129 GB, free: 14.36 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003984/0.3842, allocations: 244.9 kB / 0.6131 GB, free: 14.09 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3842, allocations: 0 / 0.6131 GB, free: 14.09 MB / 462.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005898/0.3848, allocations: 317.3 kB / 0.6134 GB, free: 13.77 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001089/0.3849, allocations: 33.64 kB / 0.6135 GB, free: 13.73 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.3849, allocations: 4 kB / 0.6135 GB, free: 13.72 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.385, allocations: 4 kB / 0.6135 GB, free: 13.72 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002242/0.3852, allocations: 63.89 kB / 0.6135 GB, free: 13.66 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.3852, allocations: 4 kB / 0.6135 GB, free: 13.65 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002559/0.3855, allocations: 35.67 kB / 0.6136 GB, free: 13.62 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.033e-05/0.3855, allocations: 16.12 kB / 0.6136 GB, free: 13.6 MB / 462.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.0001732/0.3857, allocations: 162.6 kB / 0.6137 GB, free: 13.43 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.792e-05/0.3858, allocations: 39.55 kB / 0.6138 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004443/0.3862, allocations: 199.5 kB / 0.614 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.3862, allocations: 0 / 0.614 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.3862, allocations: 0 / 0.614 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004512/0.3867, allocations: 491.7 kB / 0.6144 GB, free: 12.63 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00041/0.3871, allocations: 353.4 kB / 0.6148 GB, free: 12.24 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3871, allocations: 0 / 0.6148 GB, free: 12.24 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000166/0.3873, allocations: 31.92 kB / 0.6148 GB, free: 12.21 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.3873, allocations: 3.938 kB / 0.6148 GB, free: 12.2 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.3873, allocations: 0 / 0.6148 GB, free: 12.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.3873, allocations: 4 kB / 0.6148 GB, free: 12.2 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3873, allocations: 0 / 0.6148 GB, free: 12.2 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005696/0.3879, allocations: 288.5 kB / 0.6151 GB, free: 11.9 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/0.3881, allocations: 128.6 kB / 0.6152 GB, free: 11.75 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.777e-05/0.3881, allocations: 4 kB / 0.6152 GB, free: 11.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002221/0.3884, allocations: 15.97 kB / 0.6152 GB, free: 11.73 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.504e-05/0.3884, allocations: 15.98 kB / 0.6153 GB, free: 11.72 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.452e-05/0.3885, allocations: 15.98 kB / 0.6153 GB, free: 11.7 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002788/0.3888, allocations: 247.2 kB / 0.6155 GB, free: 11.46 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3888, allocations: 0 / 0.6155 GB, free: 11.46 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004593/0.3892, allocations: 120.1 kB / 0.6156 GB, free: 11.35 MB / 462.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.0003768/0.3896, allocations: 207.1 kB / 0.6158 GB, free: 11.14 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005281/0.3901, allocations: 231.6 kB / 0.616 GB, free: 10.9 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3902, allocations: 0 / 0.616 GB, free: 10.9 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000181/0.3903, allocations: 71.89 kB / 0.6161 GB, free: 10.83 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008639/0.3912, allocations: 214.3 kB / 0.6163 GB, free: 10.63 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.3926, allocations: 0.7308 MB / 0.617 GB, free: 9.871 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003722/0.3929, allocations: 0.7918 MB / 0.6178 GB, free: 9.051 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000214/0.3932, allocations: 71.19 kB / 0.6179 GB, free: 8.984 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.043e-05/0.3932, allocations: 31.42 kB / 0.6179 GB, free: 8.953 MB / 462.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3933, allocations: 0 / 0.6179 GB, free: 8.953 MB / 462.1 MB Notification: Performance of Templates: time 0.01188/0.4051, allocations: 7.139 MB / 0.6249 GB, free: 1.93 MB / 462.1 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.sim & ./IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)