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.001879/0.001879, allocations: 89.48 kB / 19.44 MB, free: 336 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.002018/0.002018, allocations: 169.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.633/1.633, allocations: 177.1 MB / 203.1 MB, free: 5.617 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.343/1.343, allocations: 154.6 MB / 414.1 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 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.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.803e-06/1.803e-06, allocations: 0 / 0.5196 GB, free: 2.57 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.051e-05/3.231e-05, allocations: 5.062 kB / 0.5196 GB, free: 2.566 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.004014/0.004046, allocations: 2.053 MB / 0.5216 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.006378/0.01042, allocations: 4.164 MB / 0.5257 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000144/0.01057, allocations: 4 kB / 0.5257 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008793/0.01145, allocations: 189.3 kB / 0.5259 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001697/0.01162, allocations: 73.72 kB / 0.526 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008517/0.01247, allocations: 306 kB / 0.5262 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0007128/0.01318, allocations: 400.8 kB / 0.5266 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.0133, allocations: 32.56 kB / 0.5267 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002619/0.01356, allocations: 158.3 kB / 0.5268 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002035/0.01377, allocations: 103.8 kB / 0.5269 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 4.599e-05/0.01381, allocations: 16 kB / 0.5269 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006019/0.01442, allocations: 311.4 kB / 0.5272 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001389/0.01456, allocations: 107.7 kB / 0.5273 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001426/0.0147, allocations: 102.2 kB / 0.5274 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001105/0.0158, allocations: 0.5762 MB / 0.528 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.01581, allocations: 0 / 0.528 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.062e-06/0.01581, allocations: 0 / 0.528 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.01581, allocations: 0 / 0.528 GB, free: 10.02 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.001443/0.01726, allocations: 0.7858 MB / 0.5288 GB, free: 9.188 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.01729, allocations: 8.031 kB / 0.5288 GB, free: 9.18 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004552/0.01775, allocations: 80.77 kB / 0.5288 GB, free: 9.105 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005856/0.01833, allocations: 290.7 kB / 0.5291 GB, free: 8.797 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.01835, allocations: 8.375 kB / 0.5291 GB, free: 8.789 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.734e-05/0.01838, allocations: 8.375 kB / 0.5291 GB, free: 8.781 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003978/0.01877, allocations: 138.6 kB / 0.5293 GB, free: 8.645 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.01878, allocations: 192 / 0.5293 GB, free: 8.645 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.196e-05/0.01881, allocations: 12.12 kB / 0.5293 GB, free: 8.633 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.01881, allocations: 0 / 0.5293 GB, free: 8.633 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005049/0.01932, allocations: 136.5 kB / 0.5294 GB, free: 8.5 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/0.02042, allocations: 0.5286 MB / 0.5299 GB, free: 7.938 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000314/0.02073, allocations: 93.52 kB / 0.53 GB, free: 7.836 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002547/0.02099, allocations: 75.64 kB / 0.5301 GB, free: 7.758 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.092e-05/0.02105, allocations: 15.98 kB / 0.5301 GB, free: 7.742 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.215e-05/0.02109, allocations: 41.39 kB / 0.5301 GB, free: 7.691 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.02109, allocations: 6.375 kB / 0.5301 GB, free: 7.688 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.001025/0.02212, allocations: 270.8 kB / 0.5304 GB, free: 7.418 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.02217, allocations: 51.62 kB / 0.5304 GB, free: 7.355 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005798/0.02275, allocations: 486.6 kB / 0.5309 GB, free: 6.867 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.575e-05/0.02278, allocations: 29.7 kB / 0.5309 GB, free: 6.832 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002344/0.02302, allocations: 248.8 kB / 0.5312 GB, free: 6.586 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.312e-05/0.02307, allocations: 35.69 kB / 0.5312 GB, free: 6.551 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/0.0232, allocations: 63.3 kB / 0.5313 GB, free: 6.48 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003534/0.02356, allocations: 0.5313 MB / 0.5318 GB, free: 5.938 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003081/0.02387, allocations: 114.3 kB / 0.5319 GB, free: 5.82 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002768/0.02414, allocations: 103.2 kB / 0.532 GB, free: 5.715 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006087/0.02475, allocations: 209.2 kB / 0.5322 GB, free: 5.504 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.02475, allocations: 0 / 0.5322 GB, free: 5.504 MB / 0.4948 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008192/0.02557, allocations: 319.7 kB / 0.5325 GB, free: 5.176 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.172e-05/0.02564, allocations: 45.69 kB / 0.5325 GB, free: 5.125 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.02564, allocations: 1.125 kB / 0.5325 GB, free: 5.125 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.02566, allocations: 0 / 0.5325 GB, free: 5.125 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002655/0.02592, allocations: 32.88 kB / 0.5326 GB, free: 5.094 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.02593, allocations: 0 / 0.5326 GB, free: 5.094 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002118/0.02614, allocations: 28.47 kB / 0.5326 GB, free: 5.066 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.792e-05/0.02617, allocations: 11.98 kB / 0.5326 GB, free: 5.055 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 0.0001727/0.02634, allocations: 173.3 kB / 0.5328 GB, free: 4.875 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.886e-05/0.02642, allocations: 41.3 kB / 0.5328 GB, free: 4.836 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007255/0.02714, allocations: 233.1 kB / 0.533 GB, free: 4.605 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.02715, allocations: 0 / 0.533 GB, free: 4.605 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.02715, allocations: 0 / 0.533 GB, free: 4.605 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.02715, allocations: 0 / 0.533 GB, free: 4.605 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004249/0.02758, allocations: 284.9 kB / 0.5333 GB, free: 4.293 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.02758, allocations: 0 / 0.5333 GB, free: 4.293 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002423/0.02782, allocations: 44.83 kB / 0.5334 GB, free: 4.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.02783, allocations: 4 kB / 0.5334 GB, free: 4.246 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.338e-05/0.02785, allocations: 9.734 kB / 0.5334 GB, free: 4.238 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.02785, allocations: 0 / 0.5334 GB, free: 4.238 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.02786, allocations: 0 / 0.5334 GB, free: 4.238 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008725/0.02873, allocations: 364.7 kB / 0.5337 GB, free: 3.863 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/0.02887, allocations: 51.73 kB / 0.5338 GB, free: 3.812 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.363e-05/0.02891, allocations: 0.7812 kB / 0.5338 GB, free: 3.812 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002269/0.02914, allocations: 17.2 kB / 0.5338 GB, free: 3.797 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.17e-05/0.02922, allocations: 15.97 kB / 0.5338 GB, free: 3.781 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.02924, allocations: 11.92 kB / 0.5338 GB, free: 3.77 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003464/0.02958, allocations: 307.1 kB / 0.5341 GB, free: 3.469 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.02958, allocations: 0.9688 kB / 0.5341 GB, free: 3.469 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005032/0.03008, allocations: 123.8 kB / 0.5342 GB, free: 3.348 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.0004033/0.03049, allocations: 192.9 kB / 0.5344 GB, free: 3.152 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001155/0.03164, allocations: 297.2 kB / 0.5347 GB, free: 2.84 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.03165, allocations: 4.625 kB / 0.5347 GB, free: 2.836 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003327/0.03198, allocations: 94.95 kB / 0.5348 GB, free: 2.742 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000503/0.03248, allocations: 72.95 kB / 0.5349 GB, free: 2.68 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.03367, allocations: 0.5563 MB / 0.5354 GB, free: 2.098 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002208/0.03389, allocations: 179.6 kB / 0.5356 GB, free: 1.898 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001801/0.03407, allocations: 43.83 kB / 0.5356 GB, free: 1.863 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.464e-05/0.03416, allocations: 24.98 kB / 0.5356 GB, free: 1.84 MB / 0.4948 GB Notification: Performance of SimCode: time 8.52e-07/0.03416, allocations: 0.5312 kB / 0.5356 GB, free: 1.84 MB / 0.4948 GB Notification: Performance of Templates: time 0.01191/0.04607, allocations: 5.116 MB / 0.5406 GB, free: 12.93 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: 6.1966545429313555]