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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 173 kB / 23.35 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9812/0.9812, allocations: 177.2 MB / 203.8 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7915/0.7915, allocations: 154.6 MB / 414.8 MB, free: 0.5078 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0.7656 kB / 480.1 MB, free: 6.848 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.421e-05/2.58e-05, allocations: 2.312 kB / 480.1 MB, free: 6.844 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.007005/0.00703, allocations: 4.739 MB / 484.8 MB, free: 2.164 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009896/0.00802, allocations: 0.8418 MB / 485.6 MB, free: 1.324 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.977e-05/0.00807, allocations: 0 / 485.6 MB, free: 1.324 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001428/0.008213, allocations: 24.91 kB / 485.7 MB, free: 1.301 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.344e-05/0.008256, allocations: 40.64 kB / 485.7 MB, free: 1.262 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000396/0.008652, allocations: 177.9 kB / 485.9 MB, free: 1.09 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.0088, allocations: 179.3 kB / 486 MB, free: 0.9141 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.5e-05/0.008875, allocations: 17.88 kB / 486.1 MB, free: 0.8945 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001561/0.009031, allocations: 116.5 kB / 486.2 MB, free: 0.7812 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.191e-05/0.009103, allocations: 63.8 kB / 486.2 MB, free: 0.7188 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.009122, allocations: 13.47 kB / 486.3 MB, free: 0.707 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002188/0.00934, allocations: 147.7 kB / 486.4 MB, free: 0.5625 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.368e-05/0.009364, allocations: 31.89 kB / 486.4 MB, free: 0.5312 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.706e-05/0.009401, allocations: 48.48 kB / 486.5 MB, free: 496 kB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002492/0.00965, allocations: 215.2 kB / 486.7 MB, free: 280 kB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.009654, allocations: 1.219 kB / 486.7 MB, free: 280 kB / 442.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.009654, allocations: 0 / 486.7 MB, free: 280 kB / 442.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.009659, allocations: 0 / 486.7 MB, free: 280 kB / 442.7 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.0004707/0.01013, allocations: 382.1 kB / 487.1 MB, free: 15.88 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.855e-05/0.01016, allocations: 8.656 kB / 487.1 MB, free: 15.87 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.233e-05/0.01019, allocations: 12.92 kB / 487.1 MB, free: 15.86 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.56e-05/0.01028, allocations: 126.2 kB / 487.2 MB, free: 15.71 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.01029, allocations: 8.375 kB / 487.2 MB, free: 15.7 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.0103, allocations: 12.97 kB / 487.2 MB, free: 15.69 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.01045, allocations: 103 kB / 487.3 MB, free: 15.58 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.01046, allocations: 4.125 kB / 487.3 MB, free: 15.58 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.01047, allocations: 4.125 kB / 487.3 MB, free: 15.57 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.01047, allocations: 4.938 kB / 487.3 MB, free: 15.57 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.967e-05/0.01054, allocations: 39.97 kB / 487.4 MB, free: 15.53 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004583/0.011, allocations: 292.4 kB / 487.7 MB, free: 15.23 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.611e-05/0.01109, allocations: 68.42 kB / 487.7 MB, free: 15.16 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.977e-05/0.01112, allocations: 28.86 kB / 487.8 MB, free: 15.13 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005627/0.01168, allocations: 422.8 kB / 488.2 MB, free: 14.71 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/0.0117, allocations: 30.56 kB / 488.2 MB, free: 14.67 MB / 458.7 MB Notification: Performance of pre-optimization done (n=12): time 1.292e-06/0.0117, allocations: 0 / 488.2 MB, free: 14.67 MB / 458.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001461/0.01184, allocations: 91.78 kB / 488.3 MB, free: 14.58 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.359e-05/0.01187, allocations: 55.34 kB / 488.3 MB, free: 14.51 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.683e-05/0.01195, allocations: 163.2 kB / 488.5 MB, free: 14.34 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.01197, allocations: 29.7 kB / 488.5 MB, free: 14.3 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.518e-05/0.01201, allocations: 112.5 kB / 488.6 MB, free: 14.19 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.66e-05/0.01203, allocations: 35.64 kB / 488.7 MB, free: 14.16 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.122e-05/0.01208, allocations: 54.39 kB / 488.7 MB, free: 14.1 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.448e-05/0.01216, allocations: 330.7 kB / 489.1 MB, free: 13.77 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.35e-05/0.01219, allocations: 20.61 kB / 489.1 MB, free: 13.75 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.124e-05/0.01224, allocations: 52.84 kB / 489.1 MB, free: 13.68 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.249e-05/0.01232, allocations: 87.17 kB / 489.2 MB, free: 13.59 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.01232, allocations: 0.9375 kB / 489.2 MB, free: 13.59 MB / 458.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001371/0.01246, allocations: 122.2 kB / 489.3 MB, free: 13.46 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.01247, allocations: 6.188 kB / 489.3 MB, free: 13.46 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.01248, allocations: 7.984 kB / 489.3 MB, free: 13.45 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.01249, allocations: 1.188 kB / 489.3 MB, free: 13.45 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.01262, allocations: 51.91 kB / 489.4 MB, free: 13.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.01262, allocations: 4 kB / 489.4 MB, free: 13.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.347e-05/0.01268, allocations: 23.53 kB / 489.4 MB, free: 13.38 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.601e-05/0.01269, allocations: 4 kB / 489.4 MB, free: 13.38 MB / 458.7 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.061e-05/0.01275, allocations: 131.2 kB / 489.6 MB, free: 13.24 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.971e-05/0.01277, allocations: 4 kB / 489.6 MB, free: 13.23 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001263/0.0129, allocations: 95.75 kB / 489.7 MB, free: 13.13 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.716e-06/0.0129, allocations: 4 kB / 489.7 MB, free: 13.12 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-06/0.0129, allocations: 0.5938 kB / 489.7 MB, free: 13.12 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.01291, allocations: 0 / 489.7 MB, free: 13.12 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001112/0.01302, allocations: 107 kB / 489.8 MB, free: 13 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.01302, allocations: 4 kB / 489.8 MB, free: 13 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.328e-05/0.01308, allocations: 23.98 kB / 489.8 MB, free: 12.98 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.01309, allocations: 0.5312 kB / 489.8 MB, free: 12.98 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.531e-06/0.01309, allocations: 2.469 kB / 489.8 MB, free: 12.98 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.01309, allocations: 3.938 kB / 489.8 MB, free: 12.97 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01309, allocations: 0 / 489.8 MB, free: 12.97 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001018/0.0132, allocations: 171.5 kB / 490 MB, free: 12.79 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.657e-05/0.01322, allocations: 19.88 kB / 490 MB, free: 12.77 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.01324, allocations: 8 kB / 490 MB, free: 12.76 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.642e-05/0.01329, allocations: 7.984 kB / 490 MB, free: 12.75 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.661e-05/0.01333, allocations: 8.609 kB / 490 MB, free: 12.75 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-06/0.01333, allocations: 4.75 kB / 490 MB, free: 12.74 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.089e-05/0.01337, allocations: 35.16 kB / 490 MB, free: 12.71 MB / 458.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01337, allocations: 0.5625 kB / 490 MB, free: 12.71 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002035/0.01357, allocations: 71.75 kB / 490.1 MB, free: 12.64 MB / 458.7 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.0002129/0.01378, allocations: 139 kB / 490.3 MB, free: 12.5 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001225/0.0139, allocations: 77.14 kB / 490.3 MB, free: 12.42 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.01391, allocations: 5.906 kB / 490.3 MB, free: 12.41 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.371e-05/0.01394, allocations: 36.06 kB / 490.4 MB, free: 12.38 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001662/0.01411, allocations: 30.91 kB / 490.4 MB, free: 12.35 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004232/0.01453, allocations: 243.2 kB / 490.6 MB, free: 12.09 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.864e-05/0.01457, allocations: 72.5 kB / 490.7 MB, free: 12 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 6.201e-05/0.01463, allocations: 17.11 kB / 490.7 MB, free: 11.98 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.187e-05/0.01471, allocations: 72.8 kB / 490.8 MB, free: 11.91 MB / 458.7 MB Notification: Performance of SimCode: time 1.102e-06/0.01471, allocations: 0 / 490.8 MB, free: 11.91 MB / 458.7 MB Notification: Performance of Templates: time 0.004596/0.01931, allocations: 2.977 MB / 493.8 MB, free: 9.23 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile [Timeout 660] (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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4870472690090537]