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.00184/0.00184, allocations: 89.47 kB / 19.44 MB, free: 340 kB / 13.93 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.001995/0.001995, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.559/1.559, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 1.31/1.31, allocations: 154.6 MB / 414.1 MB, free: 0.6445 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 178] 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.883e-06/1.883e-06, allocations: 0 / 0.5196 GB, free: 1.426 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.153e-05/3.341e-05, allocations: 4 kB / 0.5196 GB, free: 1.422 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.007404/0.007438, allocations: 4.647 MB / 0.5242 GB, free: 12.78 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001346/0.008784, allocations: 0.8381 MB / 0.525 GB, free: 11.95 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.091e-05/0.008844, allocations: 0 / 0.525 GB, free: 11.95 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001904/0.009035, allocations: 28.94 kB / 0.525 GB, free: 11.92 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 6.311e-05/0.009098, allocations: 36.48 kB / 0.5251 GB, free: 11.88 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005588/0.009657, allocations: 175.3 kB / 0.5252 GB, free: 11.71 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002342/0.009891, allocations: 179.3 kB / 0.5254 GB, free: 11.54 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.663e-05/0.009978, allocations: 13.28 kB / 0.5254 GB, free: 11.52 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002422/0.01022, allocations: 115.7 kB / 0.5255 GB, free: 11.41 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001194/0.01034, allocations: 71.78 kB / 0.5256 GB, free: 11.34 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 3.18e-05/0.01037, allocations: 12 kB / 0.5256 GB, free: 11.33 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004442/0.01082, allocations: 132.5 kB / 0.5257 GB, free: 11.2 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 3.795e-05/0.01085, allocations: 32.47 kB / 0.5258 GB, free: 11.17 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 7.274e-05/0.01093, allocations: 51.89 kB / 0.5258 GB, free: 11.12 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004456/0.01137, allocations: 264.1 kB / 0.5261 GB, free: 10.86 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.01138, allocations: 0 / 0.5261 GB, free: 10.86 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.01138, allocations: 1.594 kB / 0.5261 GB, free: 10.86 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.01138, allocations: 0 / 0.5261 GB, free: 10.86 MB / 458.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.0009502/0.01233, allocations: 496.4 kB / 0.5265 GB, free: 10.34 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.01237, allocations: 14.02 kB / 0.5265 GB, free: 10.33 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.361e-05/0.01245, allocations: 24.84 kB / 0.5266 GB, free: 10.3 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.0126, allocations: 128.4 kB / 0.5267 GB, free: 10.15 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.01262, allocations: 8.375 kB / 0.5267 GB, free: 10.14 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.431e-05/0.01264, allocations: 12.38 kB / 0.5267 GB, free: 10.13 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000279/0.01292, allocations: 105.3 kB / 0.5268 GB, free: 10.03 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.01293, allocations: 0.8125 kB / 0.5268 GB, free: 10.03 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.01295, allocations: 12.06 kB / 0.5268 GB, free: 10.02 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.01296, allocations: 0.6562 kB / 0.5268 GB, free: 10.02 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003401/0.0133, allocations: 104.5 kB / 0.5269 GB, free: 9.914 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/0.01441, allocations: 446.6 kB / 0.5273 GB, free: 9.445 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002891/0.0147, allocations: 120.5 kB / 0.5275 GB, free: 9.32 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/0.01485, allocations: 59.84 kB / 0.5275 GB, free: 9.258 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001338/0.01619, allocations: 0.558 MB / 0.5281 GB, free: 8.688 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.689e-05/0.01623, allocations: 41.33 kB / 0.5281 GB, free: 8.637 MB / 458.7 MB Notification: Performance of pre-optimization done (n=12): time 1.082e-06/0.01623, allocations: 3.125 kB / 0.5281 GB, free: 8.637 MB / 458.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005639/0.01679, allocations: 176.4 kB / 0.5283 GB, free: 8.461 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.74e-05/0.01685, allocations: 59.41 kB / 0.5283 GB, free: 8.391 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002468/0.0171, allocations: 235.2 kB / 0.5286 GB, free: 8.145 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.933e-05/0.01713, allocations: 29.7 kB / 0.5286 GB, free: 8.109 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.01725, allocations: 155.2 kB / 0.5287 GB, free: 7.953 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.501e-05/0.01729, allocations: 45.45 kB / 0.5288 GB, free: 7.91 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.0174, allocations: 55.36 kB / 0.5288 GB, free: 7.848 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002933/0.01769, allocations: 0.5078 MB / 0.5293 GB, free: 7.328 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001768/0.01787, allocations: 59.97 kB / 0.5294 GB, free: 7.27 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002421/0.01811, allocations: 117 kB / 0.5295 GB, free: 7.141 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000359/0.01847, allocations: 172.7 kB / 0.5297 GB, free: 6.957 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.01847, allocations: 0.875 kB / 0.5297 GB, free: 6.957 MB / 458.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005226/0.01899, allocations: 234.8 kB / 0.5299 GB, free: 6.727 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.01901, allocations: 4 kB / 0.5299 GB, free: 6.723 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.01901, allocations: 0 / 0.5299 GB, free: 6.723 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.01903, allocations: 4 kB / 0.5299 GB, free: 6.719 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002517/0.01928, allocations: 49.03 kB / 0.5299 GB, free: 6.672 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.01929, allocations: 4 kB / 0.5299 GB, free: 6.668 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/0.01942, allocations: 28.77 kB / 0.53 GB, free: 6.641 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.926e-05/0.01945, allocations: 12 kB / 0.53 GB, free: 6.629 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 0.0001458/0.0196, allocations: 173.3 kB / 0.5301 GB, free: 6.449 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.395e-05/0.01964, allocations: 15.91 kB / 0.5302 GB, free: 6.434 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004247/0.02007, allocations: 156.3 kB / 0.5303 GB, free: 6.27 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.02007, allocations: 0 / 0.5303 GB, free: 6.27 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.02007, allocations: 1.094 kB / 0.5303 GB, free: 6.27 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.02008, allocations: 0 / 0.5303 GB, free: 6.27 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000236/0.02031, allocations: 172.5 kB / 0.5305 GB, free: 6.066 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.02031, allocations: 2.906 kB / 0.5305 GB, free: 6.066 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001391/0.02045, allocations: 31.92 kB / 0.5305 GB, free: 6.035 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.02046, allocations: 0 / 0.5305 GB, free: 6.035 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.02047, allocations: 3.984 kB / 0.5305 GB, free: 6.031 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.02047, allocations: 4 kB / 0.5305 GB, free: 6.027 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.02047, allocations: 0 / 0.5305 GB, free: 6.027 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004419/0.02092, allocations: 295.7 kB / 0.5308 GB, free: 5.723 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.204e-05/0.02097, allocations: 23.88 kB / 0.5308 GB, free: 5.699 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.145e-05/0.02099, allocations: 0 / 0.5308 GB, free: 5.699 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.0211, allocations: 11.98 kB / 0.5308 GB, free: 5.688 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.62e-05/0.02116, allocations: 11.97 kB / 0.5308 GB, free: 5.676 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.02117, allocations: 4 kB / 0.5308 GB, free: 5.672 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001309/0.0213, allocations: 165.5 kB / 0.531 GB, free: 5.512 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0213, allocations: 0 / 0.531 GB, free: 5.512 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003391/0.02164, allocations: 59.86 kB / 0.5311 GB, free: 5.453 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.0003386/0.02198, allocations: 166.2 kB / 0.5312 GB, free: 5.285 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000441/0.02242, allocations: 155.5 kB / 0.5314 GB, free: 5.133 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.02242, allocations: 0 / 0.5314 GB, free: 5.133 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001624/0.02258, allocations: 69.67 kB / 0.5314 GB, free: 5.062 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003413/0.02292, allocations: 27.97 kB / 0.5315 GB, free: 5.039 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005447/0.02347, allocations: 260.7 kB / 0.5317 GB, free: 4.758 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001029/0.02357, allocations: 91.38 kB / 0.5318 GB, free: 4.648 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 8.565e-05/0.02366, allocations: 13.38 kB / 0.5318 GB, free: 4.641 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.789e-05/0.02372, allocations: 20.48 kB / 0.5318 GB, free: 4.621 MB / 458.7 MB Notification: Performance of SimCode: time 4.81e-07/0.02372, allocations: 0.5625 kB / 0.5318 GB, free: 4.621 MB / 458.7 MB Notification: Performance of Templates: time 0.007612/0.03134, allocations: 2.869 MB / 0.5346 GB, free: 1.945 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.9602095959708095]