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.009048/0.009048, allocations: 102.1 kB / 15.73 MB, free: 5.988 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.001861/0.001861, allocations: 196.3 kB / 16.67 MB, free: 5.926 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9257/0.9257, allocations: 135.1 MB / 425.7 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 75.88 kB / 0.5856 GB, free: 3.344 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.482/0.4833, allocations: 80.91 MB / 0.6646 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.0138/0.4971, allocations: 14.43 MB / 0.6787 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005891/0.503, allocations: 3.645 MB / 0.6823 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006393/0.5037, allocations: 21.41 kB / 0.6823 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0006983/0.5044, allocations: 210.1 kB / 0.6825 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001593/0.5061, allocations: 0.6193 MB / 0.6831 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009858/0.5071, allocations: 389.4 kB / 0.6835 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001445/0.5085, allocations: 1.097 MB / 0.6846 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004784/0.509, allocations: 316.2 kB / 0.6849 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009505/0.51, allocations: 398.2 kB / 0.6852 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003898/0.5104, allocations: 303.3 kB / 0.6855 GB, free: 6.801 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.767e-05/0.5104, allocations: 31.75 kB / 0.6856 GB, free: 6.801 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005891/0.511, allocations: 261.5 kB / 0.6858 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001211/0.5111, allocations: 91.36 kB / 0.6859 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002798/0.5114, allocations: 222.2 kB / 0.6861 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0009769/0.5124, allocations: 0.5927 MB / 0.6867 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.5124, allocations: 0 / 0.6867 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.124e-06/0.5124, allocations: 4 kB / 0.6867 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.5125, allocations: 0 / 0.6867 GB, free: 6.062 MB / 0.5137 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.001385/0.5139, allocations: 0.7472 MB / 0.6874 GB, free: 5.402 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.5139, allocations: 9.531 kB / 0.6874 GB, free: 5.402 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002309/0.5141, allocations: 49.11 kB / 0.6875 GB, free: 5.379 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008209/0.515, allocations: 468.9 kB / 0.6879 GB, free: 4.973 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.715e-05/0.515, allocations: 23.48 kB / 0.6879 GB, free: 4.961 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.439e-05/0.5151, allocations: 29.94 kB / 0.688 GB, free: 4.949 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006686/0.5158, allocations: 304.5 kB / 0.6883 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.5158, allocations: 1.469 kB / 0.6883 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.777e-05/0.5158, allocations: 11.12 kB / 0.6883 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.45e-05/0.5159, allocations: 6.469 kB / 0.6883 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005272/0.5164, allocations: 198.5 kB / 0.6885 GB, free: 4.641 MB / 0.5137 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.002203/0.5186, allocations: 1.483 MB / 0.6899 GB, free: 3.254 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005399/0.5192, allocations: 150.3 kB / 0.6901 GB, free: 3.172 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002018/0.5194, allocations: 74.06 kB / 0.6901 GB, free: 3.129 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001838/0.5196, allocations: 84.61 kB / 0.6902 GB, free: 3.035 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000348/0.5199, allocations: 131.3 kB / 0.6903 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 2.134e-06/0.5199, allocations: 0 / 0.6903 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.000741/0.5207, allocations: 233.7 kB / 0.6906 GB, free: 2.812 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/0.5207, allocations: 57.42 kB / 0.6906 GB, free: 2.746 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004788/0.5212, allocations: 357.6 kB / 0.691 GB, free: 2.516 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.369e-05/0.5213, allocations: 32.14 kB / 0.691 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002162/0.5215, allocations: 217.5 kB / 0.6912 GB, free: 2.285 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.656e-05/0.5216, allocations: 57.45 kB / 0.6912 GB, free: 2.234 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.939e-05/0.5217, allocations: 49.95 kB / 0.6913 GB, free: 2.199 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002204/0.5219, allocations: 350 kB / 0.6916 GB, free: 1.855 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002133/0.5221, allocations: 68.61 kB / 0.6917 GB, free: 1.824 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002692/0.5224, allocations: 145 kB / 0.6918 GB, free: 1.695 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000493/0.5229, allocations: 246.9 kB / 0.6921 GB, free: 1.496 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.5229, allocations: 0 / 0.6921 GB, free: 1.496 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000711/0.5236, allocations: 316.5 kB / 0.6924 GB, free: 1.309 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.78e-05/0.5237, allocations: 41.62 kB / 0.6924 GB, free: 1.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.537e-06/0.5237, allocations: 2.875 kB / 0.6924 GB, free: 1.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.355e-05/0.5237, allocations: 4.031 kB / 0.6924 GB, free: 1.27 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002383/0.524, allocations: 52.66 kB / 0.6925 GB, free: 1.258 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.524, allocations: 4.938 kB / 0.6925 GB, free: 1.258 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002712/0.5243, allocations: 35.02 kB / 0.6925 GB, free: 1.234 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.725e-05/0.5243, allocations: 13.81 kB / 0.6925 GB, free: 1.23 MB / 0.5137 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.0001927/0.5245, allocations: 158.1 kB / 0.6927 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.869e-05/0.5246, allocations: 35.94 kB / 0.6927 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005178/0.5251, allocations: 203.2 kB / 0.6929 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.5251, allocations: 1.25 kB / 0.6929 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.5251, allocations: 1.406 kB / 0.6929 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005528/0.5257, allocations: 487.7 kB / 0.6934 GB, free: 460 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004537/0.5262, allocations: 354.4 kB / 0.6937 GB, free: 132 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.5262, allocations: 0 / 0.6937 GB, free: 132 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001705/0.5264, allocations: 35.36 kB / 0.6937 GB, free: 120 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.5264, allocations: 1.25 kB / 0.6937 GB, free: 120 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/0.5264, allocations: 9.359 kB / 0.6937 GB, free: 112 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.5264, allocations: 1.281 kB / 0.6937 GB, free: 112 kB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.5264, allocations: 0 / 0.6937 GB, free: 112 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006749/0.5271, allocations: 275.9 kB / 0.694 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/0.5272, allocations: 132.4 kB / 0.6941 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.399e-05/0.5273, allocations: 11.92 kB / 0.6941 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000247/0.5275, allocations: 15.8 kB / 0.6942 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.631e-05/0.5276, allocations: 17.42 kB / 0.6942 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.091e-05/0.5276, allocations: 15.73 kB / 0.6942 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002514/0.5279, allocations: 245.9 kB / 0.6944 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5279, allocations: 3.938 kB / 0.6944 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000504/0.5284, allocations: 127.3 kB / 0.6946 GB, free: 15.58 MB / 0.5294 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.0003885/0.5288, allocations: 206.7 kB / 0.6947 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005458/0.5294, allocations: 232.2 kB / 0.695 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.5294, allocations: 0 / 0.695 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001946/0.5296, allocations: 73.42 kB / 0.695 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009853/0.5306, allocations: 208.9 kB / 0.6952 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.5321, allocations: 0.7287 MB / 0.696 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004015/0.5325, allocations: 0.7914 MB / 0.6967 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002261/0.5327, allocations: 59.95 kB / 0.6968 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.751e-05/0.5328, allocations: 33.42 kB / 0.6968 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of SimCode: time 2.3e-07/0.5328, allocations: 0 / 0.6968 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of Templates: time 0.013/0.5458, allocations: 7.187 MB / 0.7038 GB, free: 8.902 MB / 0.5294 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)