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.001318/0.001318, allocations: 106.3 kB / 16.41 MB, free: 6.516 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.001288/0.001288, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.397/1.397, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8058/0.8058, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 66.3 kB / 0.5862 GB, free: 21.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.1662, allocations: 80.93 MB / 0.6653 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Storage.Examples.ExpansionVessel): time 0.01699/0.1833, allocations: 14.44 MB / 0.6794 GB, free: 7.328 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005477/0.1888, allocations: 3.644 MB / 0.6829 GB, free: 3.672 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007412/0.1896, allocations: 15.94 kB / 0.683 GB, free: 3.656 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008475/0.1904, allocations: 206.7 kB / 0.6832 GB, free: 3.453 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001979/0.1925, allocations: 0.579 MB / 0.6837 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001149/0.1937, allocations: 394.2 kB / 0.6841 GB, free: 2.488 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00164/0.1953, allocations: 1.082 MB / 0.6852 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004448/0.1958, allocations: 328.4 kB / 0.6855 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000961/0.1967, allocations: 397.9 kB / 0.6858 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003915/0.1971, allocations: 306.6 kB / 0.6861 GB, free: 404 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.507e-05/0.1972, allocations: 36 kB / 0.6862 GB, free: 368 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005862/0.1978, allocations: 263.5 kB / 0.6864 GB, free: 104 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.578e-05/0.1979, allocations: 95.67 kB / 0.6865 GB, free: 8 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002105/0.1981, allocations: 215.1 kB / 0.6867 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0007643/0.1989, allocations: 0.5918 MB / 0.6873 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1989, allocations: 0 / 0.6873 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.032e-06/0.1989, allocations: 0 / 0.6873 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.885e-06/0.1989, allocations: 0 / 0.6873 GB, free: 15.2 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.001108/0.2, allocations: 0.7496 MB / 0.688 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.2001, allocations: 13.05 kB / 0.688 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001915/0.2003, allocations: 48.47 kB / 0.6881 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006843/0.201, allocations: 466.9 kB / 0.6885 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.201, allocations: 16.56 kB / 0.6885 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.232e-05/0.2011, allocations: 31.98 kB / 0.6886 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005583/0.2016, allocations: 306.2 kB / 0.6889 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.2016, allocations: 7.906 kB / 0.6889 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.79e-05/0.2017, allocations: 4 kB / 0.6889 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.18e-05/0.2017, allocations: 15.98 kB / 0.6889 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004428/0.2022, allocations: 190.1 kB / 0.6891 GB, free: 13.26 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.001666/0.2038, allocations: 1.485 MB / 0.6905 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004472/0.2043, allocations: 158.6 kB / 0.6907 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001687/0.2045, allocations: 64.81 kB / 0.6907 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001349/0.2046, allocations: 89.11 kB / 0.6908 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002809/0.2049, allocations: 139.1 kB / 0.691 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.683e-06/0.2049, allocations: 0 / 0.691 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0006028/0.2055, allocations: 229.2 kB / 0.6912 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.2056, allocations: 59.33 kB / 0.6912 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003367/0.2059, allocations: 349.6 kB / 0.6916 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.068e-05/0.206, allocations: 33.7 kB / 0.6916 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001524/0.2061, allocations: 215.8 kB / 0.6918 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.406e-05/0.2062, allocations: 59.19 kB / 0.6919 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.906e-05/0.2063, allocations: 49.7 kB / 0.6919 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.2064, allocations: 334.8 kB / 0.6922 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001929/0.2066, allocations: 75.94 kB / 0.6923 GB, free: 9.727 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002248/0.2068, allocations: 157.2 kB / 0.6925 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004096/0.2072, allocations: 237.4 kB / 0.6927 GB, free: 9.27 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.2073, allocations: 8 kB / 0.6927 GB, free: 9.262 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000578/0.2078, allocations: 318.5 kB / 0.693 GB, free: 8.938 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.768e-05/0.2079, allocations: 33.7 kB / 0.693 GB, free: 8.898 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.2079, allocations: 0 / 0.693 GB, free: 8.898 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.2079, allocations: 4.312 kB / 0.693 GB, free: 8.895 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002202/0.2082, allocations: 63.91 kB / 0.6931 GB, free: 8.832 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-05/0.2082, allocations: 4 kB / 0.6931 GB, free: 8.828 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002771/0.2085, allocations: 35.67 kB / 0.6931 GB, free: 8.793 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.697e-05/0.2085, allocations: 8 kB / 0.6931 GB, free: 8.785 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.0001701/0.2087, allocations: 157.8 kB / 0.6933 GB, free: 8.621 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.234e-05/0.2087, allocations: 35.56 kB / 0.6933 GB, free: 8.586 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004405/0.2092, allocations: 203.3 kB / 0.6935 GB, free: 8.387 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/0.2092, allocations: 4 kB / 0.6935 GB, free: 8.383 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.2092, allocations: 0 / 0.6935 GB, free: 8.383 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004714/0.2097, allocations: 479.8 kB / 0.694 GB, free: 7.828 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000417/0.2101, allocations: 357.3 kB / 0.6943 GB, free: 7.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.2101, allocations: 0 / 0.6943 GB, free: 7.43 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001743/0.2103, allocations: 43.84 kB / 0.6944 GB, free: 7.387 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.2103, allocations: 4 kB / 0.6944 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.2103, allocations: 4 kB / 0.6944 GB, free: 7.379 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.2103, allocations: 0 / 0.6944 GB, free: 7.379 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2104, allocations: 0 / 0.6944 GB, free: 7.379 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006102/0.211, allocations: 282.3 kB / 0.6946 GB, free: 7.086 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000131/0.2111, allocations: 124.7 kB / 0.6948 GB, free: 6.945 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.514e-05/0.2112, allocations: 19.94 kB / 0.6948 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002265/0.2114, allocations: 11.98 kB / 0.6948 GB, free: 6.914 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.686e-05/0.2115, allocations: 15.97 kB / 0.6948 GB, free: 6.898 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/0.2115, allocations: 8 kB / 0.6948 GB, free: 6.891 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002613/0.2118, allocations: 251.2 kB / 0.695 GB, free: 6.652 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2e-07/0.2118, allocations: 0 / 0.695 GB, free: 6.652 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004747/0.2123, allocations: 127.9 kB / 0.6952 GB, free: 6.527 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.0003901/0.2127, allocations: 204.3 kB / 0.6954 GB, free: 6.316 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005082/0.2132, allocations: 226 kB / 0.6956 GB, free: 6.086 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.2132, allocations: 0 / 0.6956 GB, free: 6.086 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001816/0.2134, allocations: 67.89 kB / 0.6956 GB, free: 6.02 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009477/0.2143, allocations: 218.4 kB / 0.6958 GB, free: 5.812 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/0.2158, allocations: 0.7599 MB / 0.6966 GB, free: 5.02 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.2161, allocations: 0.7879 MB / 0.6974 GB, free: 4.203 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001203/0.2163, allocations: 43.42 kB / 0.6974 GB, free: 4.16 MB / 0.5294 GB Notification: Performance of SimCode: time 5.21e-07/0.2163, allocations: 0 / 0.6974 GB, free: 4.16 MB / 0.5294 GB Notification: Performance of Templates: time 0.00958/0.2259, allocations: 6.186 MB / 0.7034 GB, free: 14.02 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)