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.001076/0.001075, allocations: 110.6 kB / 16.37 MB, free: 6.012 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.001018/0.001018, allocations: 189.5 kB / 17.31 MB, free: 5.613 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.303/1.303, 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/package.mo): time 0.7552/0.7552, allocations: 132.2 MB / 423.4 MB, free: 6.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 63.91 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3357, allocations: 80.18 MB / 0.5815 GB, free: 27.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004868/0.3406, allocations: 4.545 MB / 0.5859 GB, free: 23.89 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008388/0.3415, allocations: 0.8333 MB / 0.5868 GB, free: 23.22 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.931e-05/0.3415, allocations: 1.312 kB / 0.5868 GB, free: 23.22 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001525/0.3417, allocations: 25.03 kB / 0.5868 GB, free: 23.2 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.867e-05/0.3418, allocations: 32.7 kB / 0.5868 GB, free: 23.17 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004261/0.3422, allocations: 168.7 kB / 0.587 GB, free: 23.05 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001603/0.3424, allocations: 178.4 kB / 0.5871 GB, free: 22.94 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.706e-05/0.3425, allocations: 16.94 kB / 0.5872 GB, free: 22.94 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001553/0.3426, allocations: 87.73 kB / 0.5872 GB, free: 22.88 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.122e-05/0.3427, allocations: 71.62 kB / 0.5873 GB, free: 22.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.56e-05/0.3428, allocations: 14.91 kB / 0.5873 GB, free: 22.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002853/0.3431, allocations: 153.2 kB / 0.5875 GB, free: 22.76 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.635e-05/0.3431, allocations: 33.81 kB / 0.5875 GB, free: 22.73 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.246e-05/0.3432, allocations: 66.95 kB / 0.5876 GB, free: 22.69 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002863/0.3435, allocations: 243.5 kB / 0.5878 GB, free: 22.54 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3435, allocations: 0 / 0.5878 GB, free: 22.54 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3435, allocations: 1.219 kB / 0.5878 GB, free: 22.54 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.949e-06/0.3435, allocations: 3.938 kB / 0.5878 GB, free: 22.53 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.0007273/0.3442, allocations: 475.5 kB / 0.5883 GB, free: 22.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.3443, allocations: 9.969 kB / 0.5883 GB, free: 22.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.005e-05/0.3443, allocations: 19.53 kB / 0.5883 GB, free: 22.08 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.823e-05/0.3444, allocations: 184 kB / 0.5885 GB, free: 21.87 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.3444, allocations: 8.625 kB / 0.5885 GB, free: 21.86 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.3445, allocations: 11.84 kB / 0.5885 GB, free: 21.86 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000279/0.3447, allocations: 114.7 kB / 0.5886 GB, free: 21.79 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.3448, allocations: 0 / 0.5886 GB, free: 21.79 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.3448, allocations: 7.938 kB / 0.5886 GB, free: 21.78 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.3448, allocations: 2.406 kB / 0.5886 GB, free: 21.78 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003648/0.3452, allocations: 142.8 kB / 0.5887 GB, free: 21.71 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008133/0.346, allocations: 468.7 kB / 0.5892 GB, free: 21.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00025/0.3462, allocations: 118.8 kB / 0.5893 GB, free: 21.23 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000177/0.3464, allocations: 73.03 kB / 0.5894 GB, free: 21.19 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001091/0.3475, allocations: 0.9659 MB / 0.5903 GB, free: 20.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.42e-05/0.3476, allocations: 42.38 kB / 0.5904 GB, free: 20.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.442e-06/0.3476, allocations: 0 / 0.5904 GB, free: 20.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0006187/0.3482, allocations: 213.9 kB / 0.5906 GB, free: 20.04 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.027e-05/0.3482, allocations: 52.81 kB / 0.5906 GB, free: 19.98 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.3483, allocations: 162.2 kB / 0.5908 GB, free: 19.85 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.3484, allocations: 31.23 kB / 0.5908 GB, free: 19.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.378e-05/0.3484, allocations: 117.3 kB / 0.5909 GB, free: 19.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/0.3484, allocations: 36.12 kB / 0.5909 GB, free: 19.67 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.814e-05/0.3485, allocations: 55.56 kB / 0.591 GB, free: 19.62 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.155e-05/0.3486, allocations: 327.7 kB / 0.5913 GB, free: 19.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002054/0.3488, allocations: 68.55 kB / 0.5914 GB, free: 19.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002201/0.349, allocations: 111.7 kB / 0.5915 GB, free: 19.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003699/0.3494, allocations: 178.8 kB / 0.5916 GB, free: 19.1 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.3494, allocations: 0 / 0.5916 GB, free: 19.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000511/0.3499, allocations: 244.7 kB / 0.5919 GB, free: 18.97 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.3499, allocations: 8.812 kB / 0.5919 GB, free: 18.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.3499, allocations: 3.406 kB / 0.5919 GB, free: 18.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.35, allocations: 1.219 kB / 0.5919 GB, free: 18.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002631/0.3502, allocations: 56.7 kB / 0.5919 GB, free: 18.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.3502, allocations: 3.281 kB / 0.5919 GB, free: 18.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001507/0.3504, allocations: 31.45 kB / 0.592 GB, free: 18.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.627e-05/0.3504, allocations: 6.188 kB / 0.592 GB, free: 18.93 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 6.919e-05/0.3505, allocations: 127.8 kB / 0.5921 GB, free: 18.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.52e-05/0.3505, allocations: 14.19 kB / 0.5921 GB, free: 18.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004193/0.351, allocations: 174.6 kB / 0.5923 GB, free: 18.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.351, allocations: 1.594 kB / 0.5923 GB, free: 18.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.351, allocations: 1.344 kB / 0.5923 GB, free: 18.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.351, allocations: 5.547 kB / 0.5923 GB, free: 18.69 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001682/0.3512, allocations: 222.5 kB / 0.5925 GB, free: 18.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3512, allocations: 0 / 0.5925 GB, free: 18.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001481/0.3513, allocations: 29.27 kB / 0.5925 GB, free: 18.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.3513, allocations: 7.062 kB / 0.5925 GB, free: 18.44 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.3514, allocations: 11.98 kB / 0.5926 GB, free: 18.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3514, allocations: 1.406 kB / 0.5926 GB, free: 18.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3514, allocations: 0 / 0.5926 GB, free: 18.43 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003765/0.3518, allocations: 257.8 kB / 0.5928 GB, free: 18.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.595e-05/0.3518, allocations: 100.9 kB / 0.5929 GB, free: 18.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.3518, allocations: 0 / 0.5929 GB, free: 18.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.352, allocations: 17.61 kB / 0.5929 GB, free: 18.08 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.487e-05/0.352, allocations: 7.984 kB / 0.5929 GB, free: 18.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.875e-06/0.352, allocations: 4 kB / 0.5929 GB, free: 18.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.174e-05/0.3521, allocations: 126.8 kB / 0.593 GB, free: 17.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3521, allocations: 0 / 0.593 GB, free: 17.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003171/0.3524, allocations: 64.05 kB / 0.5931 GB, free: 17.88 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.0002164/0.3527, allocations: 160.8 kB / 0.5933 GB, free: 17.72 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004234/0.3531, allocations: 170.3 kB / 0.5934 GB, free: 17.56 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.3531, allocations: 4 kB / 0.5934 GB, free: 17.55 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001588/0.3533, allocations: 65.17 kB / 0.5935 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.0003358/0.3536, allocations: 24.64 kB / 0.5935 GB, free: 17.47 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003584/0.354, allocations: 250.1 kB / 0.5937 GB, free: 17.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001047/0.3541, allocations: 0.7015 MB / 0.5944 GB, free: 16.48 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.583e-05/0.3542, allocations: 32.25 kB / 0.5945 GB, free: 16.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.44e-05/0.3542, allocations: 15.44 kB / 0.5945 GB, free: 16.44 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3542, allocations: 0 / 0.5945 GB, free: 16.44 MB / 446.1 MB Notification: Performance of Templates: time 0.004916/0.3592, allocations: 2.712 MB / 0.5971 GB, free: 13.78 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)