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.001352/0.001352, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.374/1.374, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9336/0.9336, allocations: 135.1 MB / 425.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 68.59 kB / 0.5054 GB, free: 5.289 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1957/0.1971, allocations: 80.92 MB / 0.5844 GB, free: 4.523 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006954/0.2041, allocations: 4.536 MB / 0.5888 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001183/0.2053, allocations: 0.8147 MB / 0.5896 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.592e-05/0.2055, allocations: 4 kB / 0.5896 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001882/0.2057, allocations: 31.77 kB / 0.5896 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.957e-05/0.2058, allocations: 35.7 kB / 0.5897 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006063/0.2064, allocations: 171.3 kB / 0.5898 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002052/0.2066, allocations: 175.4 kB / 0.59 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.878e-05/0.2067, allocations: 17.12 kB / 0.59 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001835/0.2069, allocations: 75.75 kB / 0.5901 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.207, allocations: 79.72 kB / 0.5902 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.864e-05/0.2071, allocations: 16 kB / 0.5902 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003553/0.2074, allocations: 151.8 kB / 0.5903 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.601e-05/0.2075, allocations: 39.83 kB / 0.5904 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.541e-05/0.2076, allocations: 63.72 kB / 0.5904 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003839/0.208, allocations: 239.6 kB / 0.5907 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.208, allocations: 0 / 0.5907 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.643e-06/0.208, allocations: 4 kB / 0.5907 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.208, allocations: 0 / 0.5907 GB, free: 14.05 MB / 0.4981 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.0008647/0.2089, allocations: 478.9 kB / 0.5911 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.2089, allocations: 8.031 kB / 0.5911 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.689e-05/0.209, allocations: 20.75 kB / 0.5911 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.2091, allocations: 178.2 kB / 0.5913 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.2092, allocations: 12.38 kB / 0.5913 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.52e-05/0.2092, allocations: 15.88 kB / 0.5913 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003372/0.2095, allocations: 117.6 kB / 0.5915 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.2096, allocations: 0 / 0.5915 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.2096, allocations: 4 kB / 0.5915 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.2096, allocations: 4 kB / 0.5915 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004304/0.21, allocations: 147.8 kB / 0.5916 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009877/0.211, allocations: 464.4 kB / 0.592 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002907/0.2113, allocations: 130.4 kB / 0.5922 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001984/0.2115, allocations: 72.81 kB / 0.5922 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001394/0.2129, allocations: 0.9609 MB / 0.5932 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.213, allocations: 34.5 kB / 0.5932 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.312e-06/0.213, allocations: 0 / 0.5932 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0006811/0.2137, allocations: 215.8 kB / 0.5934 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.2137, allocations: 55.41 kB / 0.5935 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.2139, allocations: 169.8 kB / 0.5936 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.2139, allocations: 29.7 kB / 0.5937 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.735e-05/0.214, allocations: 112.4 kB / 0.5938 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.682e-05/0.214, allocations: 31.47 kB / 0.5938 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.158e-05/0.2141, allocations: 49.69 kB / 0.5938 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.2142, allocations: 334.8 kB / 0.5942 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002211/0.2144, allocations: 67.95 kB / 0.5942 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002436/0.2147, allocations: 111.4 kB / 0.5943 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004188/0.2151, allocations: 171.9 kB / 0.5945 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.2151, allocations: 0 / 0.5945 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005626/0.2157, allocations: 248.4 kB / 0.5947 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.2157, allocations: 7.938 kB / 0.5947 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.2157, allocations: 0 / 0.5947 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.2157, allocations: 4 kB / 0.5947 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002807/0.216, allocations: 59.89 kB / 0.5948 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.216, allocations: 0 / 0.5948 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000161/0.2162, allocations: 39.77 kB / 0.5948 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.536e-05/0.2162, allocations: 8 kB / 0.5948 GB, free: 9.379 MB / 0.4981 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 9.392e-05/0.2163, allocations: 121.8 kB / 0.595 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.625e-05/0.2164, allocations: 11.84 kB / 0.595 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000488/0.2169, allocations: 178.9 kB / 0.5951 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.2169, allocations: 7.984 kB / 0.5952 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.2169, allocations: 0 / 0.5952 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.2169, allocations: 0 / 0.5952 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002163/0.2171, allocations: 229.4 kB / 0.5954 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.2171, allocations: 0 / 0.5954 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001631/0.2173, allocations: 23.98 kB / 0.5954 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.2173, allocations: 3.938 kB / 0.5954 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.2173, allocations: 7.984 kB / 0.5954 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2173, allocations: 0 / 0.5954 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2174, allocations: 0 / 0.5954 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004524/0.2178, allocations: 262.9 kB / 0.5957 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.318e-05/0.2179, allocations: 100.8 kB / 0.5958 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.2179, allocations: 4 kB / 0.5958 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000155/0.2181, allocations: 11.98 kB / 0.5958 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.162e-05/0.2181, allocations: 15.98 kB / 0.5958 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.2182, allocations: 4 kB / 0.5958 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.378e-05/0.2182, allocations: 120.9 kB / 0.5959 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2182, allocations: 0 / 0.5959 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003438/0.2186, allocations: 68.05 kB / 0.596 GB, free: 8.137 MB / 0.4981 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.0002726/0.2189, allocations: 152.5 kB / 0.5961 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005239/0.2194, allocations: 171.7 kB / 0.5963 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2194, allocations: 4.125 kB / 0.5963 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001936/0.2196, allocations: 71.89 kB / 0.5963 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003831/0.22, allocations: 19.98 kB / 0.5964 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004779/0.2205, allocations: 249.3 kB / 0.5966 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/0.2208, allocations: 0.7045 MB / 0.5973 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001559/0.221, allocations: 21.06 kB / 0.5973 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.97e-05/0.221, allocations: 19.44 kB / 0.5973 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of SimCode: time 3.1e-07/0.2211, allocations: 0 / 0.5973 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of Templates: time 0.005657/0.2267, allocations: 2.716 MB / 0.6 GB, free: 3.992 MB / 0.4981 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)