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.001276/0.001276, 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.00137/0.00137, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.425/1.425, 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-master/package.mo): time 0.8253/0.8253, allocations: 135.1 MB / 426.2 MB, free: 4.18 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001592, allocations: 63.91 kB / 0.506 GB, free: 8.383 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4151/0.4168, allocations: 80.91 MB / 0.585 GB, free: 25.31 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005603/0.4224, allocations: 4.538 MB / 0.5894 GB, free: 21.67 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009327/0.4234, allocations: 0.815 MB / 0.5902 GB, free: 21.01 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.662e-05/0.4235, allocations: 1.5 kB / 0.5902 GB, free: 21.01 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001948/0.4237, allocations: 33.75 kB / 0.5903 GB, free: 20.98 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.569e-05/0.4238, allocations: 28.44 kB / 0.5903 GB, free: 20.96 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005293/0.4244, allocations: 177.6 kB / 0.5905 GB, free: 20.83 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001739/0.4245, allocations: 179.3 kB / 0.5906 GB, free: 20.72 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.664e-05/0.4246, allocations: 22.78 kB / 0.5907 GB, free: 20.71 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001806/0.4248, allocations: 82.14 kB / 0.5907 GB, free: 20.66 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.97e-05/0.4249, allocations: 78.39 kB / 0.5908 GB, free: 20.61 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.298e-05/0.425, allocations: 12 kB / 0.5908 GB, free: 20.6 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003273/0.4253, allocations: 159.4 kB / 0.591 GB, free: 20.45 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.917e-05/0.4253, allocations: 27.91 kB / 0.591 GB, free: 20.42 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.139e-05/0.4254, allocations: 67.66 kB / 0.5911 GB, free: 20.35 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002897/0.4257, allocations: 249.2 kB / 0.5913 GB, free: 20.11 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.4257, allocations: 0 / 0.5913 GB, free: 20.11 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.4257, allocations: 0 / 0.5913 GB, free: 20.11 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.4257, allocations: 0 / 0.5913 GB, free: 20.11 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.0007808/0.4265, allocations: 476.9 kB / 0.5918 GB, free: 19.6 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.4266, allocations: 10.39 kB / 0.5918 GB, free: 19.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.679e-05/0.4266, allocations: 16.75 kB / 0.5918 GB, free: 19.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.4267, allocations: 185 kB / 0.592 GB, free: 19.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.4268, allocations: 9.281 kB / 0.592 GB, free: 19.35 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.529e-05/0.4268, allocations: 15.94 kB / 0.592 GB, free: 19.33 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003028/0.4271, allocations: 114.7 kB / 0.5921 GB, free: 19.21 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.4271, allocations: 0.5625 kB / 0.5921 GB, free: 19.21 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.4271, allocations: 4 kB / 0.5921 GB, free: 19.21 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.728e-06/0.4272, allocations: 3.062 kB / 0.5921 GB, free: 19.21 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003734/0.4275, allocations: 139.9 kB / 0.5922 GB, free: 19.07 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008772/0.4284, allocations: 471.1 kB / 0.5927 GB, free: 18.57 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002673/0.4287, allocations: 129 kB / 0.5928 GB, free: 18.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001836/0.4289, allocations: 69.06 kB / 0.5929 GB, free: 18.36 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001153/0.4301, allocations: 0.9706 MB / 0.5938 GB, free: 17.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.4301, allocations: 36.31 kB / 0.5939 GB, free: 17.22 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.393e-06/0.4301, allocations: 4 kB / 0.5939 GB, free: 17.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0006439/0.4307, allocations: 203 kB / 0.5941 GB, free: 17.02 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.775e-05/0.4308, allocations: 60.2 kB / 0.5941 GB, free: 16.95 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.4309, allocations: 164.7 kB / 0.5943 GB, free: 16.78 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.4309, allocations: 26.36 kB / 0.5943 GB, free: 16.75 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.194e-05/0.431, allocations: 113.3 kB / 0.5944 GB, free: 16.63 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.039e-05/0.431, allocations: 35.45 kB / 0.5944 GB, free: 16.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.818e-05/0.4311, allocations: 50.58 kB / 0.5945 GB, free: 16.54 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.44e-05/0.4311, allocations: 322.8 kB / 0.5948 GB, free: 16.22 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002019/0.4313, allocations: 77.53 kB / 0.5949 GB, free: 16.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000216/0.4316, allocations: 105.8 kB / 0.595 GB, free: 16.03 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003788/0.432, allocations: 177.3 kB / 0.5951 GB, free: 15.85 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.432, allocations: 0 / 0.5951 GB, free: 15.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004949/0.4325, allocations: 246.8 kB / 0.5954 GB, free: 15.61 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.4325, allocations: 7.938 kB / 0.5954 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.4325, allocations: 8.969 kB / 0.5954 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.4325, allocations: 0 / 0.5954 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002586/0.4328, allocations: 60.58 kB / 0.5954 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.4328, allocations: 4 kB / 0.5954 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/0.433, allocations: 32.89 kB / 0.5955 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.601e-05/0.433, allocations: 8 kB / 0.5955 GB, free: 15.49 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.976e-05/0.4331, allocations: 131.2 kB / 0.5956 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.411e-05/0.4331, allocations: 15.84 kB / 0.5956 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000459/0.4336, allocations: 172.3 kB / 0.5958 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.4336, allocations: 7.984 kB / 0.5958 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.4336, allocations: 4.594 kB / 0.5958 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.4336, allocations: 1.219 kB / 0.5958 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001704/0.4338, allocations: 213.5 kB / 0.596 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.4338, allocations: 0 / 0.596 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001511/0.434, allocations: 29.28 kB / 0.596 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.434, allocations: 7.938 kB / 0.596 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.434, allocations: 7.984 kB / 0.5961 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.434, allocations: 1.719 kB / 0.5961 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.434, allocations: 3.984 kB / 0.5961 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004154/0.4344, allocations: 253.3 kB / 0.5963 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.595e-05/0.4345, allocations: 108.7 kB / 0.5964 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.736e-05/0.4346, allocations: 4 kB / 0.5964 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.4347, allocations: 16.97 kB / 0.5964 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.598e-05/0.4348, allocations: 12.61 kB / 0.5964 GB, free: 14.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.4348, allocations: 4 kB / 0.5964 GB, free: 14.44 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.847e-05/0.4349, allocations: 118.5 kB / 0.5966 GB, free: 14.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4349, allocations: 0.7188 kB / 0.5966 GB, free: 14.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003566/0.4352, allocations: 56.12 kB / 0.5966 GB, free: 14.27 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.0003118/0.4356, allocations: 164.6 kB / 0.5968 GB, free: 14.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004909/0.4361, allocations: 182.8 kB / 0.5969 GB, free: 13.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.4361, allocations: 0 / 0.5969 GB, free: 13.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001775/0.4362, allocations: 63.94 kB / 0.597 GB, free: 13.87 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004008/0.4367, allocations: 22.67 kB / 0.597 GB, free: 13.85 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005026/0.4372, allocations: 286.8 kB / 0.5973 GB, free: 13.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002026/0.4374, allocations: 0.7104 MB / 0.598 GB, free: 12.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.097e-05/0.4375, allocations: 15.44 kB / 0.598 GB, free: 12.79 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4375, allocations: 0.7812 kB / 0.598 GB, free: 12.79 MB / 446.1 MB Notification: Performance of Templates: time 0.004072/0.4415, allocations: 2.547 MB / 0.6005 GB, free: 10.27 MB / 446.1 MB 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)