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.0009898/0.0009898, allocations: 81.86 kB / 19.87 MB, free: 4.621 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.0009683/0.0009683, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.9105/0.9105, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.7114/0.7114, allocations: 154.6 MB / 414.8 MB, free: 0.543 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.583e-06/1.583e-06, allocations: 0.9844 kB / 0.5208 GB, free: 1.902 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.456e-05/1.614e-05, allocations: 3.625 kB / 0.5208 GB, free: 1.898 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002356/0.002372, allocations: 2.07 MB / 0.5228 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003793/0.006165, allocations: 4.141 MB / 0.5268 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.863e-05/0.006263, allocations: 0 / 0.5268 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006514/0.006915, allocations: 197.1 kB / 0.527 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 9.736e-05/0.007012, allocations: 72.2 kB / 0.5271 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006801/0.007692, allocations: 310.2 kB / 0.5274 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.000444/0.008136, allocations: 402.7 kB / 0.5278 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.507e-05/0.008221, allocations: 28.58 kB / 0.5278 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001534/0.008375, allocations: 159.6 kB / 0.528 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.008485, allocations: 101.6 kB / 0.528 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.369e-05/0.008508, allocations: 15.94 kB / 0.5281 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003676/0.008876, allocations: 315.4 kB / 0.5284 GB, free: 10.13 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 8.535e-05/0.008961, allocations: 105.6 kB / 0.5285 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.867e-05/0.00903, allocations: 95.69 kB / 0.5286 GB, free: 9.934 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004304/0.00946, allocations: 0.4945 MB / 0.529 GB, free: 9.438 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.009462, allocations: 0 / 0.529 GB, free: 9.438 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.092e-06/0.009463, allocations: 0 / 0.529 GB, free: 9.438 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.009467, allocations: 6.688 kB / 0.529 GB, free: 9.434 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.0006997/0.01017, allocations: 0.7688 MB / 0.5298 GB, free: 8.621 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.0102, allocations: 12.03 kB / 0.5298 GB, free: 8.609 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002308/0.01043, allocations: 78.34 kB / 0.5299 GB, free: 8.535 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002263/0.01066, allocations: 251.4 kB / 0.5301 GB, free: 8.266 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.01067, allocations: 8.375 kB / 0.5301 GB, free: 8.258 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.01069, allocations: 10.7 kB / 0.5301 GB, free: 8.25 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001986/0.01088, allocations: 124.9 kB / 0.5303 GB, free: 8.121 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.01089, allocations: 4.125 kB / 0.5303 GB, free: 8.117 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.01091, allocations: 12.12 kB / 0.5303 GB, free: 8.105 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.01091, allocations: 0.875 kB / 0.5303 GB, free: 8.105 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.061e-05/0.01098, allocations: 35.95 kB / 0.5303 GB, free: 8.07 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007079/0.01169, allocations: 434.5 kB / 0.5307 GB, free: 7.621 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.349e-05/0.01176, allocations: 50.98 kB / 0.5308 GB, free: 7.559 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.895e-05/0.0118, allocations: 24.73 kB / 0.5308 GB, free: 7.531 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.698e-05/0.01184, allocations: 23.98 kB / 0.5308 GB, free: 7.508 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.705e-05/0.01186, allocations: 33.39 kB / 0.5309 GB, free: 7.465 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=11): time 1.272e-06/0.01186, allocations: 1.031 kB / 0.5309 GB, free: 7.465 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.0002255/0.01208, allocations: 140.8 kB / 0.531 GB, free: 7.324 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.298e-05/0.01211, allocations: 55.41 kB / 0.531 GB, free: 7.258 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002245/0.01233, allocations: 434.4 kB / 0.5315 GB, free: 6.82 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.01235, allocations: 26.55 kB / 0.5315 GB, free: 6.789 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.01245, allocations: 242.9 kB / 0.5317 GB, free: 6.547 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.006e-05/0.01248, allocations: 42.8 kB / 0.5318 GB, free: 6.508 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.231e-05/0.01253, allocations: 51.27 kB / 0.5318 GB, free: 6.449 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.01267, allocations: 0.5312 MB / 0.5323 GB, free: 5.906 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.11e-05/0.01273, allocations: 57.62 kB / 0.5324 GB, free: 5.844 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.093e-05/0.01278, allocations: 53.69 kB / 0.5324 GB, free: 5.785 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001083/0.01289, allocations: 111.6 kB / 0.5325 GB, free: 5.668 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.01289, allocations: 0 / 0.5325 GB, free: 5.668 MB / 0.4948 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002025/0.01309, allocations: 234.1 kB / 0.5328 GB, free: 5.426 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.167e-05/0.01312, allocations: 41.69 kB / 0.5328 GB, free: 5.379 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.01313, allocations: 0 / 0.5328 GB, free: 5.379 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.01314, allocations: 4 kB / 0.5328 GB, free: 5.375 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.01326, allocations: 35.97 kB / 0.5328 GB, free: 5.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.016e-06/0.01327, allocations: 0 / 0.5328 GB, free: 5.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.801e-05/0.01335, allocations: 27.88 kB / 0.5329 GB, free: 5.312 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.01336, allocations: 3.984 kB / 0.5329 GB, free: 5.309 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 8.369e-05/0.01344, allocations: 171.1 kB / 0.533 GB, free: 5.133 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.67e-05/0.01348, allocations: 39.77 kB / 0.5331 GB, free: 5.094 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001785/0.01366, allocations: 136.9 kB / 0.5332 GB, free: 4.953 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.01366, allocations: 0 / 0.5332 GB, free: 4.953 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.01366, allocations: 0 / 0.5332 GB, free: 4.953 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.01366, allocations: 4.531 kB / 0.5332 GB, free: 4.949 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/0.01383, allocations: 198 kB / 0.5334 GB, free: 4.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.01383, allocations: 4 kB / 0.5334 GB, free: 4.727 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.715e-05/0.01392, allocations: 33.02 kB / 0.5334 GB, free: 4.695 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.01392, allocations: 7.938 kB / 0.5334 GB, free: 4.688 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.01393, allocations: 0 / 0.5334 GB, free: 4.688 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.01393, allocations: 0.5625 kB / 0.5334 GB, free: 4.688 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.01393, allocations: 9.078 kB / 0.5334 GB, free: 4.68 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001735/0.01411, allocations: 271.6 kB / 0.5337 GB, free: 4.395 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.883e-05/0.01417, allocations: 55.66 kB / 0.5338 GB, free: 4.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.01419, allocations: 4.75 kB / 0.5338 GB, free: 4.336 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.597e-05/0.01427, allocations: 12.61 kB / 0.5338 GB, free: 4.324 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.053e-05/0.01431, allocations: 19.97 kB / 0.5338 GB, free: 4.305 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.01432, allocations: 4.688 kB / 0.5338 GB, free: 4.301 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001223/0.01444, allocations: 271 kB / 0.5341 GB, free: 4.035 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.01444, allocations: 0.5312 kB / 0.5341 GB, free: 4.035 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002704/0.01471, allocations: 124.7 kB / 0.5342 GB, free: 3.914 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.0002092/0.01492, allocations: 192.2 kB / 0.5344 GB, free: 3.719 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001899/0.01511, allocations: 190.8 kB / 0.5345 GB, free: 3.512 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.01511, allocations: 0 / 0.5345 GB, free: 3.512 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.278e-05/0.01517, allocations: 45.97 kB / 0.5346 GB, free: 3.465 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002722/0.01544, allocations: 71.84 kB / 0.5346 GB, free: 3.398 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007461/0.01619, allocations: 0.5488 MB / 0.5352 GB, free: 2.824 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.519e-05/0.01624, allocations: 108 kB / 0.5353 GB, free: 2.699 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 9.054e-05/0.01633, allocations: 29.34 kB / 0.5353 GB, free: 2.676 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/0.01648, allocations: 134.1 kB / 0.5354 GB, free: 2.543 MB / 0.4948 GB Notification: Performance of SimCode: time 7.11e-07/0.01648, allocations: 0 / 0.5354 GB, free: 2.543 MB / 0.4948 GB Notification: Performance of Templates: time 0.006899/0.02338, allocations: 5.62 MB / 0.5409 GB, free: 13.16 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.603261193726212]