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.008013/0.008013, allocations: 94.06 kB / 15.73 MB, free: 6.051 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.001872/0.001872, allocations: 195.1 kB / 16.68 MB, free: 5.973 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9731/0.9731, allocations: 135.1 MB / 425.7 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 59.91 kB / 0.5856 GB, free: 3.375 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4827/0.484, allocations: 80.92 MB / 0.6646 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.0138/0.4978, allocations: 14.46 MB / 0.6787 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005605/0.5035, allocations: 3.633 MB / 0.6823 GB, free: 9.035 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006622/0.5042, allocations: 19.53 kB / 0.6823 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007483/0.5049, allocations: 204.3 kB / 0.6825 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001719/0.5067, allocations: 0.5822 MB / 0.6831 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001025/0.5078, allocations: 394.9 kB / 0.6834 GB, free: 8.09 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001887/0.5097, allocations: 1.094 MB / 0.6845 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006423/0.5103, allocations: 311.9 kB / 0.6848 GB, free: 7.246 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001074/0.5114, allocations: 397.1 kB / 0.6852 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004382/0.5118, allocations: 307 kB / 0.6855 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.094e-05/0.5119, allocations: 32.72 kB / 0.6855 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006676/0.5126, allocations: 252.6 kB / 0.6857 GB, free: 6.711 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.5127, allocations: 99.97 kB / 0.6858 GB, free: 6.633 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002538/0.513, allocations: 213.7 kB / 0.686 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0009278/0.5139, allocations: 0.5952 MB / 0.6866 GB, free: 6.105 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.5139, allocations: 1.125 kB / 0.6866 GB, free: 6.105 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.392e-06/0.5139, allocations: 0 / 0.6866 GB, free: 6.105 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.514, allocations: 0 / 0.6866 GB, free: 6.105 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.001264/0.5152, allocations: 0.7697 MB / 0.6874 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.5153, allocations: 9.656 kB / 0.6874 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002065/0.5155, allocations: 50.09 kB / 0.6874 GB, free: 5.398 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007701/0.5163, allocations: 468.2 kB / 0.6879 GB, free: 4.992 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/0.5163, allocations: 19.03 kB / 0.6879 GB, free: 4.984 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.696e-05/0.5164, allocations: 30.31 kB / 0.6879 GB, free: 4.973 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000605/0.517, allocations: 309.1 kB / 0.6882 GB, free: 4.762 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.517, allocations: 5.141 kB / 0.6882 GB, free: 4.758 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.377e-05/0.517, allocations: 14.3 kB / 0.6882 GB, free: 4.746 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.27e-05/0.5171, allocations: 7.688 kB / 0.6883 GB, free: 4.746 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004877/0.5176, allocations: 193.6 kB / 0.6884 GB, free: 4.656 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.00186/0.5194, allocations: 1.481 MB / 0.6899 GB, free: 3.273 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004589/0.5199, allocations: 157.9 kB / 0.69 GB, free: 3.184 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001764/0.5201, allocations: 65.77 kB / 0.6901 GB, free: 3.148 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00013/0.5202, allocations: 91.58 kB / 0.6902 GB, free: 3.047 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003042/0.5206, allocations: 133.7 kB / 0.6903 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.814e-06/0.5206, allocations: 0 / 0.6903 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.000651/0.5212, allocations: 241.8 kB / 0.6905 GB, free: 2.816 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/0.5213, allocations: 52.97 kB / 0.6906 GB, free: 2.754 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003999/0.5217, allocations: 358.1 kB / 0.6909 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/0.5217, allocations: 31.58 kB / 0.691 GB, free: 2.488 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001789/0.5219, allocations: 225.2 kB / 0.6912 GB, free: 2.285 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.066e-05/0.522, allocations: 54.59 kB / 0.6912 GB, free: 2.238 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.5221, allocations: 57.12 kB / 0.6913 GB, free: 2.195 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.5222, allocations: 342.3 kB / 0.6916 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002109/0.5224, allocations: 68.45 kB / 0.6917 GB, free: 1.828 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002413/0.5227, allocations: 146.2 kB / 0.6918 GB, free: 1.699 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004354/0.5231, allocations: 249.7 kB / 0.6921 GB, free: 1.496 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.5232, allocations: 5.391 kB / 0.6921 GB, free: 1.492 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006138/0.5238, allocations: 311.4 kB / 0.6924 GB, free: 1.309 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.709e-05/0.5238, allocations: 33.92 kB / 0.6924 GB, free: 1.277 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.5238, allocations: 6.219 kB / 0.6924 GB, free: 1.273 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.5239, allocations: 3.375 kB / 0.6924 GB, free: 1.273 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000227/0.5241, allocations: 62.42 kB / 0.6925 GB, free: 1.254 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.5241, allocations: 3.719 kB / 0.6925 GB, free: 1.254 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002471/0.5244, allocations: 29.08 kB / 0.6925 GB, free: 1.238 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.118e-05/0.5244, allocations: 13.06 kB / 0.6925 GB, free: 1.234 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.0001706/0.5246, allocations: 157.5 kB / 0.6927 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.357e-05/0.5246, allocations: 47.81 kB / 0.6927 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000457/0.5251, allocations: 184.4 kB / 0.6929 GB, free: 0.9531 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.5251, allocations: 1.219 kB / 0.6929 GB, free: 0.9531 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.5251, allocations: 5.609 kB / 0.6929 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005149/0.5257, allocations: 483.7 kB / 0.6933 GB, free: 468 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004602/0.5261, allocations: 354 kB / 0.6937 GB, free: 140 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.5261, allocations: 4 kB / 0.6937 GB, free: 136 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001683/0.5263, allocations: 40.03 kB / 0.6937 GB, free: 120 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.5263, allocations: 0 / 0.6937 GB, free: 120 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.5263, allocations: 2.312 kB / 0.6937 GB, free: 120 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.5264, allocations: 0 / 0.6937 GB, free: 120 kB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5264, allocations: 1.156 kB / 0.6937 GB, free: 120 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006243/0.527, allocations: 292.2 kB / 0.694 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.5271, allocations: 128.8 kB / 0.6941 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.02e-05/0.5272, allocations: 5.438 kB / 0.6941 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002246/0.5274, allocations: 24.66 kB / 0.6942 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.735e-05/0.5275, allocations: 15.17 kB / 0.6942 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-05/0.5275, allocations: 5.25 kB / 0.6942 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002816/0.5278, allocations: 254.4 kB / 0.6944 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5278, allocations: 0 / 0.6944 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004539/0.5283, allocations: 134.8 kB / 0.6945 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.0003755/0.5286, allocations: 191.9 kB / 0.6947 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005025/0.5292, allocations: 231.7 kB / 0.6949 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5292, allocations: 0 / 0.6949 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001912/0.5294, allocations: 69.05 kB / 0.695 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009262/0.5303, allocations: 209.4 kB / 0.6952 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/0.5317, allocations: 0.7497 MB / 0.6959 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003859/0.5321, allocations: 0.7981 MB / 0.6967 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002358/0.5324, allocations: 68.81 kB / 0.6968 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.021e-05/0.5324, allocations: 34.11 kB / 0.6968 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of SimCode: time 4e-07/0.5325, allocations: 0 / 0.6968 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of Templates: time 0.0131/0.5456, allocations: 7.167 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)