Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006348/0.006348, allocations: 170.6 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.832/0.832, allocations: 135.2 MB / 151.1 MB, free: 13.82 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 223.2 MB / 406.9 MB, free: 3.223 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 93.75 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000371/0.000371, allocations: 16 kB / 0.5691 GB, free: 14.17 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4819/0.4823, allocations: 82.3 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8947/1.377, allocations: 335.4 MB / 0.9771 GB, free: 5.434 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003324/1.377, allocations: 85.2 kB / 0.9771 GB, free: 5.387 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.05024/1.428, allocations: 14.21 MB / 0.991 GB, free: 9.945 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.296e-06/1.428, allocations: 0 / 0.991 GB, free: 9.945 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.112e-05/1.428, allocations: 4 kB / 0.991 GB, free: 9.941 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001278/1.429, allocations: 473.5 kB / 0.9915 GB, free: 9.441 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.339e-05/1.429, allocations: 8.031 kB / 0.9915 GB, free: 9.434 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.996e-05/1.429, allocations: 19.81 kB / 0.9915 GB, free: 9.414 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002287/1.429, allocations: 178.9 kB / 0.9917 GB, free: 9.199 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.586e-05/1.43, allocations: 11.23 kB / 0.9917 GB, free: 9.191 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.715e-05/1.43, allocations: 11.56 kB / 0.9917 GB, free: 9.184 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005298/1.43, allocations: 123 kB / 0.9918 GB, free: 9.078 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/1.43, allocations: 7.938 kB / 0.9918 GB, free: 9.07 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.122e-05/1.43, allocations: 3.25 kB / 0.9918 GB, free: 9.07 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/1.43, allocations: 7.984 kB / 0.9918 GB, free: 9.062 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007122/1.431, allocations: 162.5 kB / 0.992 GB, free: 8.938 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001508/1.432, allocations: 472.4 kB / 0.9924 GB, free: 8.496 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004346/1.433, allocations: 135 kB / 0.9926 GB, free: 8.383 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001976/1.435, allocations: 0.9658 MB / 0.9935 GB, free: 7.336 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.794e-05/1.435, allocations: 34.56 kB / 0.9935 GB, free: 7.293 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=12): time 1.994e-06/1.435, allocations: 0 / 0.9935 GB, free: 7.293 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12): time 0.001091/1.436, allocations: 241.7 kB / 0.9938 GB, free: 7.086 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.244e-05/1.436, allocations: 55.41 kB / 0.9938 GB, free: 7.02 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/1.436, allocations: 154.5 kB / 0.994 GB, free: 6.875 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.224e-05/1.436, allocations: 29.64 kB / 0.994 GB, free: 6.844 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.877e-05/1.437, allocations: 110.8 kB / 0.9941 GB, free: 6.742 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.967e-05/1.437, allocations: 39.2 kB / 0.9941 GB, free: 6.707 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.085e-05/1.437, allocations: 7.375 kB / 0.9941 GB, free: 6.703 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001525/1.437, allocations: 326.6 kB / 0.9945 GB, free: 6.379 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003678/1.437, allocations: 88.88 kB / 0.9945 GB, free: 6.312 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000406/1.438, allocations: 118.2 kB / 0.9946 GB, free: 6.207 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003767/1.438, allocations: 89.59 kB / 0.9947 GB, free: 6.145 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/1.438, allocations: 8 kB / 0.9947 GB, free: 6.137 MB / 0.6355 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0009342/1.439, allocations: 262.5 kB / 0.995 GB, free: 5.926 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/1.439, allocations: 7.953 kB / 0.995 GB, free: 5.918 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/1.439, allocations: 0 / 0.995 GB, free: 5.918 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/1.439, allocations: 4 kB / 0.995 GB, free: 5.914 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004719/1.439, allocations: 59.47 kB / 0.9951 GB, free: 5.859 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/1.44, allocations: 4 kB / 0.9951 GB, free: 5.855 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002911/1.44, allocations: 43.31 kB / 0.9951 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.949e-05/1.44, allocations: 4 kB / 0.9951 GB, free: 5.812 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001582/1.44, allocations: 128.5 kB / 0.9952 GB, free: 5.688 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.539e-05/1.44, allocations: 7.906 kB / 0.9952 GB, free: 5.68 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007665/1.441, allocations: 209.8 kB / 0.9954 GB, free: 5.504 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/1.441, allocations: 0 / 0.9954 GB, free: 5.504 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/1.441, allocations: 7.938 kB / 0.9954 GB, free: 5.496 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/1.441, allocations: 4 kB / 0.9955 GB, free: 5.492 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003517/1.441, allocations: 215.3 kB / 0.9957 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/1.441, allocations: 0 / 0.9957 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000262/1.442, allocations: 31.97 kB / 0.9957 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.775e-06/1.442, allocations: 4 kB / 0.9957 GB, free: 5.219 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/1.442, allocations: 0 / 0.9957 GB, free: 5.219 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/1.442, allocations: 3.953 kB / 0.9957 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/1.442, allocations: 7.938 kB / 0.9957 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007217/1.442, allocations: 280.5 kB / 0.996 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.104e-05/1.442, allocations: 88.64 kB / 0.9961 GB, free: 4.844 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.267e-05/1.443, allocations: 0 / 0.9961 GB, free: 4.844 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002367/1.443, allocations: 15.98 kB / 0.9961 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.872e-05/1.443, allocations: 15.88 kB / 0.9961 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/1.443, allocations: 11.94 kB / 0.9961 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001255/1.443, allocations: 117.4 kB / 0.9962 GB, free: 4.703 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.71e-07/1.443, allocations: 0 / 0.9962 GB, free: 4.703 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006365/1.444, allocations: 63.05 kB / 0.9963 GB, free: 4.648 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004601/1.444, allocations: 175 kB / 0.9964 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007896/1.445, allocations: 184.6 kB / 0.9966 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/1.445, allocations: 192 / 0.9966 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003223/1.445, allocations: 82.39 kB / 0.9967 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003823/1.446, allocations: 19.92 kB / 0.9967 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008028/1.447, allocations: 354.9 kB / 0.997 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004281/1.447, allocations: 0.7125 MB / 0.9977 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001971/1.447, allocations: 17.47 kB / 0.9978 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.438e-05/1.447, allocations: 19.42 kB / 0.9978 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of SimCode: time 3.81e-07/1.447, allocations: 0 / 0.9978 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of Templates: time 0.008975/1.456, allocations: 2.64 MB / 1 GB, free: 0.5039 MB / 0.6355 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)