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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00177/0.00177, allocations: 113.3 kB / 16.41 MB, free: 6.5 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.002002/0.002002, allocations: 183 kB / 17.34 MB, free: 5.762 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.449/1.449, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.892/0.892, allocations: 135.2 MB / 426.4 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 69.08 kB / 0.5863 GB, free: 21.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1841/0.1861, allocations: 80.94 MB / 0.6654 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006877/0.1929, allocations: 4.553 MB / 0.6698 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001269/0.1942, allocations: 0.8147 MB / 0.6706 GB, free: 340 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.19e-05/0.1943, allocations: 7.938 kB / 0.6706 GB, free: 332 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000199/0.1945, allocations: 31.77 kB / 0.6707 GB, free: 300 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.935e-05/0.1945, allocations: 35.7 kB / 0.6707 GB, free: 264 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005938/0.1951, allocations: 175.3 kB / 0.6709 GB, free: 88 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002582/0.1954, allocations: 175.4 kB / 0.671 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.1955, allocations: 9.125 kB / 0.671 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002059/0.1957, allocations: 83.75 kB / 0.6711 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001259/0.1958, allocations: 83.66 kB / 0.6712 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.53e-05/0.1959, allocations: 12 kB / 0.6712 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003571/0.1962, allocations: 147.8 kB / 0.6713 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.684e-05/0.1963, allocations: 35.91 kB / 0.6714 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 9.91e-05/0.1964, allocations: 71.64 kB / 0.6714 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004106/0.1968, allocations: 239.2 kB / 0.6717 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.1968, allocations: 0 / 0.6717 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.783e-06/0.1968, allocations: 0 / 0.6717 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.665e-06/0.1968, allocations: 0 / 0.6717 GB, free: 15.24 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.00101/0.1978, allocations: 490.5 kB / 0.6721 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.1978, allocations: 13.11 kB / 0.6722 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.403e-05/0.1979, allocations: 12.84 kB / 0.6722 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001976/0.1981, allocations: 184.1 kB / 0.6723 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.415e-05/0.1981, allocations: 20.06 kB / 0.6724 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.111e-05/0.1981, allocations: 12 kB / 0.6724 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003613/0.1985, allocations: 117.6 kB / 0.6725 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.1985, allocations: 0 / 0.6725 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.1985, allocations: 4 kB / 0.6725 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.1985, allocations: 3.984 kB / 0.6725 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004273/0.199, allocations: 143.9 kB / 0.6726 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/0.2, allocations: 460.5 kB / 0.6731 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003072/0.2003, allocations: 122.5 kB / 0.6732 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002025/0.2005, allocations: 64.81 kB / 0.6732 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001512/0.202, allocations: 0.9644 MB / 0.6742 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/0.2021, allocations: 38.5 kB / 0.6742 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.2021, allocations: 0 / 0.6742 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12): time 0.0007262/0.2028, allocations: 217.3 kB / 0.6744 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.2028, allocations: 59.34 kB / 0.6745 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.203, allocations: 156.3 kB / 0.6746 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.986e-05/0.2031, allocations: 33.7 kB / 0.6747 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.2032, allocations: 112.4 kB / 0.6748 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.882e-05/0.2032, allocations: 43.64 kB / 0.6748 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.887e-05/0.2033, allocations: 49.69 kB / 0.6749 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001907/0.2035, allocations: 326.8 kB / 0.6752 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002368/0.2037, allocations: 71.95 kB / 0.6752 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002545/0.204, allocations: 107.4 kB / 0.6753 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004368/0.2044, allocations: 171.3 kB / 0.6755 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2044, allocations: 0 / 0.6755 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005948/0.205, allocations: 256.2 kB / 0.6758 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.205, allocations: 8.094 kB / 0.6758 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.205, allocations: 4 kB / 0.6758 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.205, allocations: 0 / 0.6758 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000271/0.2053, allocations: 51.91 kB / 0.6758 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.2053, allocations: 4 kB / 0.6758 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001634/0.2055, allocations: 35.81 kB / 0.6759 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.73e-05/0.2055, allocations: 4 kB / 0.6759 GB, free: 10.57 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001132/0.2056, allocations: 125.8 kB / 0.676 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.574e-05/0.2057, allocations: 15.89 kB / 0.676 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005139/0.2062, allocations: 174.9 kB / 0.6762 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.2062, allocations: 4 kB / 0.6762 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.2062, allocations: 0 / 0.6762 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.2062, allocations: 0 / 0.6762 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002617/0.2065, allocations: 217.5 kB / 0.6764 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.2065, allocations: 4 kB / 0.6764 GB, free: 9.984 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001544/0.2066, allocations: 39.84 kB / 0.6764 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.2066, allocations: 0 / 0.6764 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.2066, allocations: 4 kB / 0.6764 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2066, allocations: 0 / 0.6764 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2066, allocations: 0 / 0.6764 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004821/0.2071, allocations: 263.8 kB / 0.6767 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.2072, allocations: 100.9 kB / 0.6768 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.2072, allocations: 0 / 0.6768 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.2074, allocations: 15.98 kB / 0.6768 GB, free: 9.535 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.709e-05/0.2074, allocations: 7.984 kB / 0.6768 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.2074, allocations: 11.94 kB / 0.6768 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001049/0.2075, allocations: 116 kB / 0.6769 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.2075, allocations: 4 kB / 0.6769 GB, free: 9.398 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003519/0.2079, allocations: 63.86 kB / 0.677 GB, free: 9.336 MB / 0.5137 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 (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.0003204/0.2082, allocations: 155 kB / 0.6771 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000515/0.2087, allocations: 159.8 kB / 0.6773 GB, free: 9.016 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.2087, allocations: 0 / 0.6773 GB, free: 9.016 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002046/0.2089, allocations: 64 kB / 0.6773 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003951/0.2093, allocations: 36.14 kB / 0.6774 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005726/0.2099, allocations: 286.2 kB / 0.6776 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000389/0.2103, allocations: 0.7045 MB / 0.6783 GB, free: 7.879 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.194e-05/0.2104, allocations: 23.44 kB / 0.6784 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of SimCode: time 4.01e-07/0.2104, allocations: 0 / 0.6784 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of Templates: time 0.005137/0.2155, allocations: 2.566 MB / 0.6809 GB, free: 5.305 MB / 0.5137 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)