Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.001042/0.001042, allocations: 93.06 kB / 19.65 MB, free: 276 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.00101/0.00101, allocations: 169 kB / 23.02 MB, free: 1.551 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.9813/0.9813, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.7747/0.7747, allocations: 154.6 MB / 414.5 MB, free: 0.6484 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.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 0.5203 GB, free: 2.176 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.951e-05/2.076e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.172 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002536/0.002557, allocations: 1.915 MB / 0.5222 GB, free: 276 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003388/0.005944, allocations: 3.736 MB / 0.5258 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.444e-05/0.006029, allocations: 7.938 kB / 0.5258 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006409/0.00667, allocations: 185.5 kB / 0.526 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001444/0.006814, allocations: 72.94 kB / 0.5261 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001026/0.006917, allocations: 56.8 kB / 0.5261 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003678/0.007284, allocations: 289.5 kB / 0.5264 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.949e-05/0.007374, allocations: 17.69 kB / 0.5264 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.007479, allocations: 107.7 kB / 0.5265 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.899e-05/0.007578, allocations: 68.55 kB / 0.5266 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.276e-05/0.007601, allocations: 10.72 kB / 0.5266 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.875e-05/0.007669, allocations: 27.98 kB / 0.5266 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 5.656e-05/0.007726, allocations: 59.77 kB / 0.5267 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.564e-05/0.007782, allocations: 59.84 kB / 0.5268 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001953/0.007977, allocations: 167.2 kB / 0.5269 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.007979, allocations: 0 / 0.5269 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.92e-07/0.00798, allocations: 0 / 0.5269 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.007984, allocations: 2.75 kB / 0.5269 GB, free: 11.43 MB / 0.4948 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.0005332/0.008517, allocations: 0.5538 MB / 0.5275 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.008552, allocations: 8.031 kB / 0.5275 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002011/0.008754, allocations: 60.73 kB / 0.5275 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000235/0.008989, allocations: 205.6 kB / 0.5277 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.025e-06/0.008997, allocations: 1.312 kB / 0.5277 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.666e-05/0.009013, allocations: 8.375 kB / 0.5277 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.009193, allocations: 109.5 kB / 0.5278 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.009202, allocations: 4.719 kB / 0.5278 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.009215, allocations: 4.125 kB / 0.5278 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.026e-05/0.009245, allocations: 9.406 kB / 0.5279 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.04e-05/0.009335, allocations: 35.97 kB / 0.5279 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004443/0.00978, allocations: 402 kB / 0.5283 GB, free: 9.949 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001457/0.009925, allocations: 102.9 kB / 0.5284 GB, free: 9.836 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.099e-05/0.009996, allocations: 47.64 kB / 0.5284 GB, free: 9.785 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.01001, allocations: 4 kB / 0.5284 GB, free: 9.781 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.01003, allocations: 37.39 kB / 0.5285 GB, free: 9.734 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=13): time 9.92e-07/0.01003, allocations: 2.844 kB / 0.5285 GB, free: 9.734 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13): time 0.000265/0.0103, allocations: 145.7 kB / 0.5286 GB, free: 9.586 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/0.01033, allocations: 51.41 kB / 0.5286 GB, free: 9.523 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/0.0105, allocations: 306.4 kB / 0.5289 GB, free: 9.211 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.01052, allocations: 25.7 kB / 0.529 GB, free: 9.18 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.084e-05/0.0106, allocations: 198.7 kB / 0.5292 GB, free: 8.98 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.508e-05/0.01064, allocations: 44.36 kB / 0.5292 GB, free: 8.938 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.483e-05/0.01068, allocations: 35.36 kB / 0.5292 GB, free: 8.895 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.01081, allocations: 0.5169 MB / 0.5297 GB, free: 8.367 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.523e-05/0.01086, allocations: 15.98 kB / 0.5297 GB, free: 8.352 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.269e-05/0.0109, allocations: 16 kB / 0.5298 GB, free: 8.336 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/0.011, allocations: 58.33 kB / 0.5298 GB, free: 8.281 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.011, allocations: 4 kB / 0.5298 GB, free: 8.277 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001607/0.01117, allocations: 133.4 kB / 0.53 GB, free: 8.141 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.01118, allocations: 4 kB / 0.53 GB, free: 8.137 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-06/0.01118, allocations: 0 / 0.53 GB, free: 8.137 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.01119, allocations: 0 / 0.53 GB, free: 8.137 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.01131, allocations: 27.98 kB / 0.53 GB, free: 8.109 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.01132, allocations: 0 / 0.53 GB, free: 8.109 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.162e-05/0.01138, allocations: 18.84 kB / 0.53 GB, free: 8.094 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.01139, allocations: 4 kB / 0.53 GB, free: 8.09 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (13): * Single equations (assignments): 13 * 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 8.92e-05/0.01148, allocations: 164.6 kB / 0.5302 GB, free: 7.918 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.548e-05/0.01152, allocations: 35.73 kB / 0.5302 GB, free: 7.883 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.402e-05/0.01156, allocations: 21.81 kB / 0.5302 GB, free: 7.859 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.01156, allocations: 7.984 kB / 0.5302 GB, free: 7.852 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.01157, allocations: 0 / 0.5302 GB, free: 7.852 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.01157, allocations: 0 / 0.5302 GB, free: 7.852 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001924/0.01176, allocations: 207.9 kB / 0.5304 GB, free: 7.617 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.01177, allocations: 0 / 0.5304 GB, free: 7.617 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.458e-05/0.01185, allocations: 39.91 kB / 0.5305 GB, free: 7.578 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.01185, allocations: 0 / 0.5305 GB, free: 7.578 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.01186, allocations: 0 / 0.5305 GB, free: 7.578 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.01186, allocations: 0 / 0.5305 GB, free: 7.578 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.01187, allocations: 4 kB / 0.5305 GB, free: 7.574 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000217/0.01208, allocations: 269.5 kB / 0.5307 GB, free: 7.293 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.137e-05/0.01213, allocations: 47.27 kB / 0.5308 GB, free: 7.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.01215, allocations: 4 kB / 0.5308 GB, free: 7.246 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.923e-05/0.01222, allocations: 4 kB / 0.5308 GB, free: 7.242 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.809e-05/0.01227, allocations: 15.97 kB / 0.5308 GB, free: 7.227 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.01228, allocations: 4 kB / 0.5308 GB, free: 7.223 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000102/0.01238, allocations: 211 kB / 0.531 GB, free: 7.02 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01238, allocations: 0 / 0.531 GB, free: 7.02 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001791/0.01256, allocations: 40 kB / 0.531 GB, free: 6.98 MB / 0.4948 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 (13): * Single equations (assignments): 13 * 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.000132/0.01269, allocations: 96.53 kB / 0.5311 GB, free: 6.879 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001804/0.01287, allocations: 79.58 kB / 0.5312 GB, free: 6.797 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.01287, allocations: 1.562 kB / 0.5312 GB, free: 6.797 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.02e-05/0.01294, allocations: 54.22 kB / 0.5313 GB, free: 6.742 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.01326, allocations: 62.86 kB / 0.5313 GB, free: 6.684 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008774/0.01413, allocations: 424.2 kB / 0.5317 GB, free: 6.238 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.127e-05/0.0142, allocations: 79.81 kB / 0.5318 GB, free: 6.141 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001138/0.01431, allocations: 48.12 kB / 0.5318 GB, free: 6.102 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.41e-05/0.01436, allocations: 20.48 kB / 0.5319 GB, free: 6.082 MB / 0.4948 GB Notification: Performance of SimCode: time 1.412e-06/0.01437, allocations: 0 / 0.5319 GB, free: 6.082 MB / 0.4948 GB Notification: Performance of Templates: time 0.004365/0.01873, allocations: 2.625 MB / 0.5344 GB, free: 3.641 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9005325860343874]