Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.001035/0.001035, allocations: 73.09 kB / 20.66 MB, free: 3.844 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.001005/0.001005, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9619/0.9619, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.7333/0.7333, allocations: 154.6 MB / 415.6 MB, free: 0.5195 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.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 0.5215 GB, free: 1.945 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.68e-05/2.876e-05, allocations: 4.469 kB / 0.5215 GB, free: 1.941 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003563/0.003592, allocations: 2.055 MB / 0.5235 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.005769/0.00936, allocations: 4.14 MB / 0.5276 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000224/0.009584, allocations: 8.469 kB / 0.5276 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001062/0.01065, allocations: 189.1 kB / 0.5278 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002186/0.01086, allocations: 78.59 kB / 0.5279 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009504/0.01182, allocations: 301 kB / 0.5281 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0007559/0.01257, allocations: 405.4 kB / 0.5285 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.0127, allocations: 32.58 kB / 0.5286 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000313/0.01302, allocations: 150.7 kB / 0.5287 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001815/0.0132, allocations: 107.7 kB / 0.5288 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.051e-05/0.01324, allocations: 16 kB / 0.5288 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006273/0.01387, allocations: 315.4 kB / 0.5291 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001299/0.014, allocations: 103.7 kB / 0.5292 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001089/0.0141, allocations: 87.77 kB / 0.5293 GB, free: 9.996 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0008249/0.01493, allocations: 0.5022 MB / 0.5298 GB, free: 9.492 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.01494, allocations: 1.5 kB / 0.5298 GB, free: 9.492 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.283e-06/0.01494, allocations: 0 / 0.5298 GB, free: 9.492 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.884e-06/0.01494, allocations: 0 / 0.5298 GB, free: 9.492 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001227/0.01617, allocations: 0.7681 MB / 0.5305 GB, free: 8.684 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.01621, allocations: 8.031 kB / 0.5306 GB, free: 8.676 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002868/0.0165, allocations: 80.62 kB / 0.5306 GB, free: 8.598 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002668/0.01676, allocations: 257.2 kB / 0.5309 GB, free: 8.324 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.01678, allocations: 12.31 kB / 0.5309 GB, free: 8.312 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.01679, allocations: 4.375 kB / 0.5309 GB, free: 8.309 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002224/0.01701, allocations: 137.2 kB / 0.531 GB, free: 8.168 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.01702, allocations: 192 / 0.531 GB, free: 8.168 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.01703, allocations: 8.125 kB / 0.531 GB, free: 8.16 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.01704, allocations: 0.9375 kB / 0.531 GB, free: 8.16 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.205e-05/0.01711, allocations: 37.45 kB / 0.5311 GB, free: 8.125 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005218/0.01763, allocations: 435 kB / 0.5315 GB, free: 7.676 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.624e-05/0.01772, allocations: 50.98 kB / 0.5315 GB, free: 7.613 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.415e-05/0.01776, allocations: 27.67 kB / 0.5316 GB, free: 7.582 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.801e-05/0.01781, allocations: 22.42 kB / 0.5316 GB, free: 7.562 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.01783, allocations: 33.39 kB / 0.5316 GB, free: 7.52 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=11): time 1.302e-06/0.01783, allocations: 4 kB / 0.5316 GB, free: 7.516 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.0002565/0.01809, allocations: 133.7 kB / 0.5317 GB, free: 7.379 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.01812, allocations: 59.39 kB / 0.5318 GB, free: 7.309 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002386/0.01836, allocations: 434.4 kB / 0.5322 GB, free: 6.871 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.01838, allocations: 27.52 kB / 0.5322 GB, free: 6.84 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.01848, allocations: 242.7 kB / 0.5325 GB, free: 6.598 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.085e-05/0.01851, allocations: 39.67 kB / 0.5325 GB, free: 6.559 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.355e-05/0.01857, allocations: 43.34 kB / 0.5325 GB, free: 6.508 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.01869, allocations: 0.5312 MB / 0.5331 GB, free: 5.965 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.512e-05/0.01876, allocations: 63.11 kB / 0.5331 GB, free: 5.898 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.552e-05/0.01881, allocations: 58.62 kB / 0.5332 GB, free: 5.836 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001119/0.01893, allocations: 111 kB / 0.5333 GB, free: 5.719 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.01893, allocations: 1.188 kB / 0.5333 GB, free: 5.719 MB / 0.4948 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002093/0.01914, allocations: 233.3 kB / 0.5335 GB, free: 5.473 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.315e-05/0.01917, allocations: 38.28 kB / 0.5335 GB, free: 5.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.01918, allocations: 0 / 0.5335 GB, free: 5.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.247e-06/0.01918, allocations: 8.703 kB / 0.5336 GB, free: 5.422 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/0.01932, allocations: 28.59 kB / 0.5336 GB, free: 5.395 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.377e-06/0.01932, allocations: 4 kB / 0.5336 GB, free: 5.391 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.433e-05/0.01941, allocations: 28.81 kB / 0.5336 GB, free: 5.363 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.01942, allocations: 9.484 kB / 0.5336 GB, free: 5.355 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * 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.775e-05/0.01952, allocations: 164.5 kB / 0.5338 GB, free: 5.184 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.133e-05/0.01956, allocations: 35.77 kB / 0.5338 GB, free: 5.148 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000206/0.01977, allocations: 137.1 kB / 0.5339 GB, free: 5.012 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.01977, allocations: 4.594 kB / 0.5339 GB, free: 5.008 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.01977, allocations: 0 / 0.5339 GB, free: 5.008 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.01978, allocations: 4.578 kB / 0.534 GB, free: 5.004 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002023/0.01998, allocations: 205.6 kB / 0.5341 GB, free: 4.777 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01998, allocations: 0 / 0.5341 GB, free: 4.777 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.973e-05/0.02008, allocations: 36.52 kB / 0.5342 GB, free: 4.742 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.02008, allocations: 5.469 kB / 0.5342 GB, free: 4.738 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.02009, allocations: 0 / 0.5342 GB, free: 4.738 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.02009, allocations: 0 / 0.5342 GB, free: 4.738 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.02009, allocations: 0 / 0.5342 GB, free: 4.738 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000216/0.02031, allocations: 273.2 kB / 0.5344 GB, free: 4.453 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.169e-05/0.02037, allocations: 55.66 kB / 0.5345 GB, free: 4.398 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.548e-05/0.0204, allocations: 4 kB / 0.5345 GB, free: 4.395 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.126e-05/0.02049, allocations: 17.11 kB / 0.5345 GB, free: 4.379 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.065e-05/0.02054, allocations: 23.91 kB / 0.5345 GB, free: 4.355 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.906e-06/0.02055, allocations: 4 kB / 0.5345 GB, free: 4.352 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001205/0.02067, allocations: 271.6 kB / 0.5348 GB, free: 4.086 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.02067, allocations: 0 / 0.5348 GB, free: 4.086 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003252/0.02099, allocations: 121.8 kB / 0.5349 GB, free: 3.969 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 (11): * Single equations (assignments): 11 * 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.0002412/0.02124, allocations: 187 kB / 0.5351 GB, free: 3.777 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002693/0.0215, allocations: 196.7 kB / 0.5353 GB, free: 3.562 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.02151, allocations: 0.75 kB / 0.5353 GB, free: 3.562 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.664e-05/0.02156, allocations: 39.59 kB / 0.5353 GB, free: 3.52 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000639/0.0222, allocations: 80.77 kB / 0.5354 GB, free: 3.449 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009907/0.02319, allocations: 0.5545 MB / 0.5359 GB, free: 2.871 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.267e-05/0.02327, allocations: 99.94 kB / 0.536 GB, free: 2.754 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001441/0.02342, allocations: 29.92 kB / 0.5361 GB, free: 2.73 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002133/0.02363, allocations: 138.1 kB / 0.5362 GB, free: 2.594 MB / 0.4948 GB Notification: Performance of SimCode: time 6.61e-07/0.02363, allocations: 0 / 0.5362 GB, free: 2.594 MB / 0.4948 GB Notification: Performance of Templates: time 0.009672/0.0333, allocations: 5.701 MB / 0.5418 GB, free: 13.11 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.771981544326991]