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.001168/0.001168, allocations: 114.6 kB / 16.42 MB, free: 6.02 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.0012/0.0012, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.196/1.196, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7111/0.7111, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00109/0.00109, allocations: 71.86 kB / 0.5863 GB, free: 21.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1208, allocations: 80.92 MB / 0.6653 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01311/0.134, allocations: 14.43 MB / 0.6794 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004136/0.1381, allocations: 3.65 MB / 0.6829 GB, free: 3.66 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002197/0.1384, allocations: 19.88 kB / 0.683 GB, free: 3.641 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004731/0.1388, allocations: 210.7 kB / 0.6832 GB, free: 3.434 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001029/0.1399, allocations: 0.6103 MB / 0.6838 GB, free: 2.82 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006814/0.1406, allocations: 390.4 kB / 0.6841 GB, free: 2.441 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001012/0.1416, allocations: 1.094 MB / 0.6852 GB, free: 1.348 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003589/0.142, allocations: 320.5 kB / 0.6855 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007188/0.1427, allocations: 400.4 kB / 0.6859 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003597/0.1431, allocations: 310.6 kB / 0.6862 GB, free: 344 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.495e-05/0.1431, allocations: 32 kB / 0.6862 GB, free: 312 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004362/0.1436, allocations: 259.5 kB / 0.6865 GB, free: 52 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.1437, allocations: 99.61 kB / 0.6866 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001984/0.1439, allocations: 207 kB / 0.6868 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0006531/0.1446, allocations: 0.592 MB / 0.6873 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1446, allocations: 0 / 0.6873 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1446, allocations: 0 / 0.6873 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.1446, allocations: 4 kB / 0.6873 GB, free: 15.15 MB / 0.5294 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.001062/0.1457, allocations: 0.7573 MB / 0.6881 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.1457, allocations: 9.109 kB / 0.6881 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00017/0.1459, allocations: 44.47 kB / 0.6881 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006607/0.1466, allocations: 466.9 kB / 0.6886 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.1466, allocations: 16.56 kB / 0.6886 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.123e-05/0.1466, allocations: 31.98 kB / 0.6886 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000533/0.1472, allocations: 306.2 kB / 0.6889 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.1472, allocations: 7.906 kB / 0.6889 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.04e-05/0.1472, allocations: 8 kB / 0.6889 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.646e-05/0.1473, allocations: 11.98 kB / 0.6889 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004312/0.1477, allocations: 198.1 kB / 0.6891 GB, free: 13.2 MB / 0.5294 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.001661/0.1494, allocations: 1.477 MB / 0.6906 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003995/0.1498, allocations: 154.6 kB / 0.6907 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/0.1499, allocations: 68.8 kB / 0.6908 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001131/0.1501, allocations: 93.09 kB / 0.6909 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002759/0.1504, allocations: 131.2 kB / 0.691 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.894e-06/0.1504, allocations: 3.938 kB / 0.691 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0005879/0.151, allocations: 236.2 kB / 0.6912 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.905e-05/0.151, allocations: 63.33 kB / 0.6913 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003401/0.1513, allocations: 349.6 kB / 0.6916 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.1514, allocations: 29.7 kB / 0.6917 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/0.1515, allocations: 211.8 kB / 0.6919 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.605e-05/0.1516, allocations: 59.19 kB / 0.6919 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.147e-05/0.1517, allocations: 53.7 kB / 0.692 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.1518, allocations: 334.8 kB / 0.6923 GB, free: 9.746 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002154/0.152, allocations: 79.94 kB / 0.6924 GB, free: 9.668 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002212/0.1522, allocations: 145.3 kB / 0.6925 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003884/0.1526, allocations: 249.3 kB / 0.6927 GB, free: 9.211 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.1526, allocations: 4 kB / 0.6927 GB, free: 9.207 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005487/0.1532, allocations: 314.9 kB / 0.693 GB, free: 8.887 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.007e-05/0.1532, allocations: 37.64 kB / 0.6931 GB, free: 8.844 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1532, allocations: 0 / 0.6931 GB, free: 8.844 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.1533, allocations: 4 kB / 0.6931 GB, free: 8.84 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002101/0.1535, allocations: 55.91 kB / 0.6931 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.1535, allocations: 7.938 kB / 0.6931 GB, free: 8.777 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000238/0.1537, allocations: 35.67 kB / 0.6932 GB, free: 8.742 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.391e-05/0.1538, allocations: 12 kB / 0.6932 GB, free: 8.73 MB / 0.5294 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.0001431/0.1539, allocations: 161.9 kB / 0.6933 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.234e-05/0.154, allocations: 35.56 kB / 0.6934 GB, free: 8.527 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004143/0.1544, allocations: 192.5 kB / 0.6936 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004268/0.1548, allocations: 483.7 kB / 0.694 GB, free: 7.777 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1548, allocations: 0 / 0.694 GB, free: 7.777 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.155, allocations: 132.6 kB / 0.6941 GB, free: 7.629 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.789e-05/0.155, allocations: 4 kB / 0.6941 GB, free: 7.625 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002282/0.1553, allocations: 19.97 kB / 0.6942 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.375e-05/0.1553, allocations: 11.98 kB / 0.6942 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005319/0.1559, allocations: 271.1 kB / 0.6944 GB, free: 7.324 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006072/0.1565, allocations: 438.2 kB / 0.6949 GB, free: 6.879 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001615/0.1566, allocations: 67.98 kB / 0.6949 GB, free: 6.812 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002185/0.1569, allocations: 251.2 kB / 0.6952 GB, free: 6.574 MB / 0.5294 GB Notification: Performance of Backend: time 3.81e-07/0.1569, allocations: 0 / 0.6952 GB, free: 6.574 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0008086/0.1577, allocations: 373.7 kB / 0.6955 GB, free: 6.191 MB / 0.5294 GB Notification: Performance of SimCode: time 0.001695/0.1594, allocations: 1.326 MB / 0.6968 GB, free: 4.82 MB / 0.5294 GB Notification: Performance of Templates: time 0.01133/0.1707, allocations: 7.452 MB / 0.7041 GB, free: 13.46 MB / 0.545 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)