Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001182/0.001182, allocations: 105.8 kB / 16.27 MB, free: 6.414 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.001163/0.001163, allocations: 190.1 kB / 17.2 MB, free: 5.949 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.363/1.363, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7966/0.7966, allocations: 132.2 MB / 423.2 MB, free: 6.668 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002044/0.002045, allocations: 71.88 kB / 0.5024 GB, free: 11.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4179/0.4199, allocations: 80.18 MB / 0.5807 GB, free: 27.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006255/0.4262, allocations: 4.547 MB / 0.5852 GB, free: 23.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009354/0.4272, allocations: 0.818 MB / 0.586 GB, free: 22.95 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.22e-05/0.4273, allocations: 2.219 kB / 0.586 GB, free: 22.95 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001742/0.4275, allocations: 29.02 kB / 0.586 GB, free: 22.92 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.58e-05/0.4276, allocations: 34.14 kB / 0.586 GB, free: 22.89 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004737/0.4281, allocations: 167.8 kB / 0.5862 GB, free: 22.77 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001532/0.4283, allocations: 180.5 kB / 0.5864 GB, free: 22.66 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.494e-05/0.4284, allocations: 16.58 kB / 0.5864 GB, free: 22.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001464/0.4285, allocations: 83.64 kB / 0.5865 GB, free: 22.61 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.837e-05/0.4286, allocations: 80.81 kB / 0.5866 GB, free: 22.55 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.803e-05/0.4286, allocations: 13.56 kB / 0.5866 GB, free: 22.55 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000304/0.429, allocations: 153.6 kB / 0.5867 GB, free: 22.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.791e-05/0.429, allocations: 29.91 kB / 0.5867 GB, free: 22.46 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.198e-05/0.4291, allocations: 64.17 kB / 0.5868 GB, free: 22.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003097/0.4294, allocations: 245.1 kB / 0.587 GB, free: 22.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.4294, allocations: 0 / 0.587 GB, free: 22.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.4294, allocations: 1.312 kB / 0.587 GB, free: 22.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.401e-06/0.4294, allocations: 2.031 kB / 0.587 GB, free: 22.25 MB / 446.1 MB 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.0007861/0.4302, allocations: 472.2 kB / 0.5875 GB, free: 21.81 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.4302, allocations: 10.66 kB / 0.5875 GB, free: 21.81 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.42e-05/0.4303, allocations: 19.56 kB / 0.5875 GB, free: 21.8 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.036e-05/0.4304, allocations: 189.9 kB / 0.5877 GB, free: 21.59 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.4304, allocations: 10.81 kB / 0.5877 GB, free: 21.58 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.337e-05/0.4305, allocations: 14.78 kB / 0.5877 GB, free: 21.57 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003044/0.4308, allocations: 112.6 kB / 0.5878 GB, free: 21.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.4308, allocations: 0 / 0.5878 GB, free: 21.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.4308, allocations: 2.594 kB / 0.5878 GB, free: 21.5 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.4308, allocations: 2.438 kB / 0.5878 GB, free: 21.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003924/0.4312, allocations: 143.9 kB / 0.588 GB, free: 21.43 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008657/0.4321, allocations: 471.1 kB / 0.5884 GB, free: 21.01 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002753/0.4324, allocations: 126.2 kB / 0.5885 GB, free: 20.94 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001902/0.4326, allocations: 71.88 kB / 0.5886 GB, free: 20.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001158/0.4337, allocations: 0.9671 MB / 0.5896 GB, free: 19.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.4338, allocations: 41.72 kB / 0.5896 GB, free: 19.87 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.322e-06/0.4338, allocations: 1.25 kB / 0.5896 GB, free: 19.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0006433/0.4344, allocations: 213.9 kB / 0.5898 GB, free: 19.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.633e-05/0.4345, allocations: 55.56 kB / 0.5899 GB, free: 19.69 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.4346, allocations: 159.4 kB / 0.59 GB, free: 19.56 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.4346, allocations: 27.23 kB / 0.59 GB, free: 19.53 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.096e-05/0.4347, allocations: 112.9 kB / 0.5901 GB, free: 19.42 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.17e-05/0.4347, allocations: 40.3 kB / 0.5902 GB, free: 19.39 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.077e-05/0.4348, allocations: 51.42 kB / 0.5902 GB, free: 19.35 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.183e-05/0.4348, allocations: 321.6 kB / 0.5905 GB, free: 19.03 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002117/0.4351, allocations: 80.72 kB / 0.5906 GB, free: 18.99 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002249/0.4353, allocations: 107.7 kB / 0.5907 GB, free: 18.92 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003888/0.4357, allocations: 170.6 kB / 0.5909 GB, free: 18.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4357, allocations: 1.844 kB / 0.5909 GB, free: 18.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005196/0.4362, allocations: 244.8 kB / 0.5911 GB, free: 18.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.4363, allocations: 9.781 kB / 0.5911 GB, free: 18.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.4363, allocations: 1.062 kB / 0.5911 GB, free: 18.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.4363, allocations: 2.469 kB / 0.5911 GB, free: 18.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002572/0.4366, allocations: 56.55 kB / 0.5912 GB, free: 18.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.4366, allocations: 2.531 kB / 0.5912 GB, free: 18.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001485/0.4367, allocations: 31.52 kB / 0.5912 GB, free: 18.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.585e-05/0.4368, allocations: 10.34 kB / 0.5912 GB, free: 18.65 MB / 446.1 MB 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 7.342e-05/0.4368, allocations: 134.1 kB / 0.5913 GB, free: 18.52 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.446e-05/0.4369, allocations: 16.39 kB / 0.5914 GB, free: 18.51 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004538/0.4373, allocations: 174 kB / 0.5915 GB, free: 18.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.4374, allocations: 2.875 kB / 0.5915 GB, free: 18.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.4374, allocations: 1.062 kB / 0.5915 GB, free: 18.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.4374, allocations: 0 / 0.5915 GB, free: 18.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001766/0.4376, allocations: 214.8 kB / 0.5917 GB, free: 18.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.4376, allocations: 0 / 0.5917 GB, free: 18.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001506/0.4377, allocations: 35.16 kB / 0.5918 GB, free: 18.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.4377, allocations: 8.844 kB / 0.5918 GB, free: 18.15 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.4377, allocations: 1.219 kB / 0.5918 GB, free: 18.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.4378, allocations: 4.844 kB / 0.5918 GB, free: 18.15 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4378, allocations: 1.281 kB / 0.5918 GB, free: 18.15 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004134/0.4382, allocations: 254.7 kB / 0.592 GB, free: 17.96 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.278e-05/0.4382, allocations: 102.8 kB / 0.5921 GB, free: 17.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.458e-05/0.4383, allocations: 7.984 kB / 0.5921 GB, free: 17.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.4384, allocations: 12.55 kB / 0.5921 GB, free: 17.83 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.59e-05/0.4385, allocations: 13.05 kB / 0.5922 GB, free: 17.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.4385, allocations: 3.781 kB / 0.5922 GB, free: 17.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.251e-05/0.4385, allocations: 117.5 kB / 0.5923 GB, free: 17.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4385, allocations: 0 / 0.5923 GB, free: 17.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003672/0.4389, allocations: 57.62 kB / 0.5923 GB, free: 17.72 MB / 446.1 MB 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.0002695/0.4392, allocations: 163.6 kB / 0.5925 GB, free: 17.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004932/0.4397, allocations: 179.3 kB / 0.5927 GB, free: 17.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.4397, allocations: 0.5 kB / 0.5927 GB, free: 17.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001853/0.4399, allocations: 71.3 kB / 0.5927 GB, free: 17.49 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003495/0.4403, allocations: 23.42 kB / 0.5927 GB, free: 17.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004274/0.4407, allocations: 281.3 kB / 0.593 GB, free: 17.21 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001127/0.4408, allocations: 0.7102 MB / 0.5937 GB, free: 16.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.397e-05/0.4409, allocations: 16.03 kB / 0.5937 GB, free: 16.46 MB / 446.1 MB Notification: Performance of SimCode: time 3.4e-07/0.4409, allocations: 0 / 0.5937 GB, free: 16.46 MB / 446.1 MB Notification: Performance of Templates: time 0.003684/0.4446, allocations: 2.552 MB / 0.5962 GB, free: 13.95 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)