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.001237/0.001237, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001299/0.001299, allocations: 194.2 kB / 16.25 MB, free: 6.629 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.384/1.384, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9339/0.9339, allocations: 135.6 MB / 425.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 65 kB / 0.5054 GB, free: 5.234 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1784/0.1804, allocations: 81.02 MB / 0.5845 GB, free: 4.359 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01663/0.197, allocations: 14.37 MB / 0.5985 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00538/0.2024, allocations: 3.609 MB / 0.602 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006225/0.2031, allocations: 15.94 kB / 0.6021 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007947/0.2039, allocations: 175.1 kB / 0.6022 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001697/0.2056, allocations: 0.5405 MB / 0.6028 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009589/0.2066, allocations: 364.1 kB / 0.6031 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001422/0.2081, allocations: 1.106 MB / 0.6042 GB, free: 116 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3012/0.5093, allocations: 309.9 kB / 0.6045 GB, free: 36.43 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001187/0.5105, allocations: 389.2 kB / 0.6048 GB, free: 36.43 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003364/0.5108, allocations: 323.1 kB / 0.6052 GB, free: 36.41 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.986e-05/0.5109, allocations: 30.44 kB / 0.6052 GB, free: 36.41 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000544/0.5114, allocations: 266.3 kB / 0.6054 GB, free: 36.41 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.366e-05/0.5115, allocations: 87.31 kB / 0.6055 GB, free: 36.39 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000179/0.5117, allocations: 215.7 kB / 0.6057 GB, free: 36.34 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006061/0.5123, allocations: 0.5875 MB / 0.6063 GB, free: 36.27 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/0.5123, allocations: 5.922 kB / 0.6063 GB, free: 36.27 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5123, allocations: 0.5312 kB / 0.6063 GB, free: 36.27 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.957e-06/0.5124, allocations: 0.9375 kB / 0.6063 GB, free: 36.27 MB / 0.4981 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.0009091/0.5133, allocations: 0.746 MB / 0.607 GB, free: 35.75 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.5133, allocations: 12.3 kB / 0.607 GB, free: 35.75 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001666/0.5135, allocations: 51.94 kB / 0.6071 GB, free: 35.73 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005695/0.5141, allocations: 478.8 kB / 0.6076 GB, free: 35.49 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.5141, allocations: 21.59 kB / 0.6076 GB, free: 35.49 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.75e-05/0.5141, allocations: 27.19 kB / 0.6076 GB, free: 35.49 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004967/0.5146, allocations: 312.9 kB / 0.6079 GB, free: 35.41 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.5147, allocations: 0 / 0.6079 GB, free: 35.41 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.022e-05/0.5147, allocations: 10.84 kB / 0.6079 GB, free: 35.41 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.739e-05/0.5147, allocations: 8.688 kB / 0.6079 GB, free: 35.41 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004062/0.5151, allocations: 193.1 kB / 0.6081 GB, free: 35.41 MB / 0.4981 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.001352/0.5165, allocations: 1.482 MB / 0.6095 GB, free: 34.45 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003826/0.5169, allocations: 155.8 kB / 0.6097 GB, free: 34.42 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001494/0.5171, allocations: 68.84 kB / 0.6098 GB, free: 34.41 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001164/0.5172, allocations: 91.91 kB / 0.6099 GB, free: 34.32 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002512/0.5174, allocations: 122.2 kB / 0.61 GB, free: 34.27 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/0.5175, allocations: 4 kB / 0.61 GB, free: 34.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0005439/0.518, allocations: 238.3 kB / 0.6102 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/0.518, allocations: 57.53 kB / 0.6103 GB, free: 34.15 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002561/0.5183, allocations: 341.6 kB / 0.6106 GB, free: 34.05 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.5183, allocations: 28.39 kB / 0.6106 GB, free: 34.02 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.673e-05/0.5184, allocations: 219 kB / 0.6108 GB, free: 33.89 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.582e-05/0.5185, allocations: 48.78 kB / 0.6109 GB, free: 33.86 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.824e-05/0.5186, allocations: 60.94 kB / 0.6109 GB, free: 33.84 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.822e-05/0.5186, allocations: 341.4 kB / 0.6112 GB, free: 33.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001668/0.5188, allocations: 69.83 kB / 0.6113 GB, free: 33.52 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001801/0.519, allocations: 149.5 kB / 0.6115 GB, free: 33.43 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003202/0.5193, allocations: 248.9 kB / 0.6117 GB, free: 33.3 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.5193, allocations: 0 / 0.6117 GB, free: 33.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004868/0.5198, allocations: 307.6 kB / 0.612 GB, free: 33.22 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.861e-05/0.5198, allocations: 38.67 kB / 0.612 GB, free: 33.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.5199, allocations: 2.844 kB / 0.612 GB, free: 33.19 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.5199, allocations: 12.78 kB / 0.612 GB, free: 33.19 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002031/0.5201, allocations: 57.47 kB / 0.6121 GB, free: 33.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.5201, allocations: 6.875 kB / 0.6121 GB, free: 33.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000252/0.5204, allocations: 42.73 kB / 0.6121 GB, free: 33.17 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.289e-05/0.5204, allocations: 13.44 kB / 0.6122 GB, free: 33.17 MB / 0.4981 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.0001203/0.5205, allocations: 160.7 kB / 0.6123 GB, free: 33.05 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.463e-05/0.5206, allocations: 31.84 kB / 0.6123 GB, free: 33.04 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004066/0.521, allocations: 196.9 kB / 0.6125 GB, free: 32.99 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.521, allocations: 2.938 kB / 0.6125 GB, free: 32.99 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.521, allocations: 0 / 0.6125 GB, free: 32.99 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003534/0.5214, allocations: 493.1 kB / 0.613 GB, free: 32.55 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003234/0.5217, allocations: 351.7 kB / 0.6133 GB, free: 32.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.5217, allocations: 0 / 0.6133 GB, free: 32.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001554/0.5219, allocations: 30.08 kB / 0.6134 GB, free: 32.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.5219, allocations: 6.812 kB / 0.6134 GB, free: 32.36 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.5219, allocations: 7.875 kB / 0.6134 GB, free: 32.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.5219, allocations: 2.969 kB / 0.6134 GB, free: 32.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.5219, allocations: 0 / 0.6134 GB, free: 32.35 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005261/0.5224, allocations: 285.2 kB / 0.6136 GB, free: 32.27 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.047e-05/0.5225, allocations: 119.8 kB / 0.6138 GB, free: 32.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.845e-05/0.5226, allocations: 14.69 kB / 0.6138 GB, free: 32.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002286/0.5228, allocations: 19.33 kB / 0.6138 GB, free: 32.15 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.656e-05/0.5229, allocations: 19.03 kB / 0.6138 GB, free: 32.15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.781e-05/0.5229, allocations: 2.938 kB / 0.6138 GB, free: 32.15 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001787/0.5231, allocations: 244.4 kB / 0.6141 GB, free: 32.07 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5231, allocations: 0 / 0.6141 GB, free: 32.07 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003873/0.5235, allocations: 109.4 kB / 0.6142 GB, free: 32.05 MB / 0.4981 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.0003118/0.5238, allocations: 184.2 kB / 0.6143 GB, free: 31.95 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000445/0.5243, allocations: 246 kB / 0.6146 GB, free: 31.88 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.5243, allocations: 0 / 0.6146 GB, free: 31.88 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001633/0.5245, allocations: 75.84 kB / 0.6146 GB, free: 31.87 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008483/0.5253, allocations: 220.6 kB / 0.6148 GB, free: 31.86 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.5265, allocations: 0.8652 MB / 0.6157 GB, free: 31.33 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001633/0.5266, allocations: 0.7906 MB / 0.6165 GB, free: 30.63 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002279/0.5269, allocations: 63.41 kB / 0.6165 GB, free: 30.62 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.26e-05/0.5269, allocations: 34.06 kB / 0.6166 GB, free: 30.62 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.5269, allocations: 4 kB / 0.6166 GB, free: 30.61 MB / 0.4981 GB Notification: Performance of Templates: time 0.01104/0.538, allocations: 6.784 MB / 0.6232 GB, free: 30.14 MB / 0.4981 GB 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)