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.001535/0.001535, allocations: 88.72 kB / 19.44 MB, free: 356 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.002698/0.002698, allocations: 161.7 kB / 22.76 MB, free: 1.68 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.525/1.525, allocations: 177.1 MB / 203.1 MB, free: 5.59 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.228/1.228, allocations: 154.6 MB / 414.2 MB, free: 0.6133 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.954e-06/1.954e-06, allocations: 0 / 0.5196 GB, free: 2.562 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.692e-05/2.887e-05, allocations: 5.484 kB / 0.5196 GB, free: 2.559 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.004395/0.004424, allocations: 1.982 MB / 0.5216 GB, free: 0.582 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.007022/0.01145, allocations: 3.907 MB / 0.5254 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001777/0.01162, allocations: 7.938 kB / 0.5254 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.001001/0.01262, allocations: 187.1 kB / 0.5256 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002177/0.01284, allocations: 63.88 kB / 0.5256 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009454/0.01379, allocations: 306.1 kB / 0.5259 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0007934/0.01458, allocations: 413.1 kB / 0.5263 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.01471, allocations: 28.58 kB / 0.5263 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002952/0.01501, allocations: 148.7 kB / 0.5265 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002021/0.01521, allocations: 110.9 kB / 0.5266 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 5.826e-05/0.01527, allocations: 16 kB / 0.5266 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006329/0.0159, allocations: 319.4 kB / 0.5269 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001472/0.01605, allocations: 103.7 kB / 0.527 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001622/0.01621, allocations: 91.75 kB / 0.5271 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0009229/0.01713, allocations: 0.5763 MB / 0.5277 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.01713, allocations: 0 / 0.5277 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.72e-07/0.01714, allocations: 0 / 0.5277 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.999e-06/0.01715, allocations: 0 / 0.5277 GB, free: 10.34 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.00183/0.01898, allocations: 0.693 MB / 0.5283 GB, free: 9.617 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.01901, allocations: 15.97 kB / 0.5283 GB, free: 9.602 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005412/0.01956, allocations: 89.14 kB / 0.5284 GB, free: 9.516 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007017/0.02026, allocations: 294.7 kB / 0.5287 GB, free: 9.207 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.02028, allocations: 8.375 kB / 0.5287 GB, free: 9.199 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.329e-05/0.02031, allocations: 12.38 kB / 0.5287 GB, free: 9.188 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005728/0.02088, allocations: 194 kB / 0.5289 GB, free: 8.996 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.02089, allocations: 4.125 kB / 0.5289 GB, free: 8.992 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.921e-05/0.02092, allocations: 9.562 kB / 0.5289 GB, free: 8.984 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.02093, allocations: 4 kB / 0.5289 GB, free: 8.98 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008008/0.02173, allocations: 239.5 kB / 0.5292 GB, free: 8.75 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001105/0.02283, allocations: 0.5024 MB / 0.5297 GB, free: 8.219 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005071/0.02334, allocations: 168.6 kB / 0.5298 GB, free: 8.047 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004203/0.02376, allocations: 130.2 kB / 0.5299 GB, free: 7.918 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.555e-05/0.02382, allocations: 16 kB / 0.53 GB, free: 7.902 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.98e-05/0.02385, allocations: 34.56 kB / 0.53 GB, free: 7.859 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=11): time 1.283e-06/0.02386, allocations: 0 / 0.53 GB, free: 7.859 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.001487/0.02534, allocations: 451 kB / 0.5304 GB, free: 7.418 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.293e-05/0.0254, allocations: 55.41 kB / 0.5305 GB, free: 7.352 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005644/0.02596, allocations: 421.9 kB / 0.5309 GB, free: 6.938 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.584e-05/0.026, allocations: 29.7 kB / 0.5309 GB, free: 6.902 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001953/0.02619, allocations: 188.9 kB / 0.5311 GB, free: 6.715 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.173e-05/0.02624, allocations: 31.7 kB / 0.5311 GB, free: 6.684 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.702e-05/0.02634, allocations: 42.28 kB / 0.5312 GB, free: 6.637 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002182/0.02656, allocations: 350.7 kB / 0.5315 GB, free: 6.285 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005246/0.02708, allocations: 211.4 kB / 0.5317 GB, free: 6.074 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004939/0.02758, allocations: 217.2 kB / 0.5319 GB, free: 5.859 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009382/0.02852, allocations: 355.8 kB / 0.5322 GB, free: 5.508 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.02852, allocations: 4 kB / 0.5322 GB, free: 5.504 MB / 0.4948 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001204/0.02972, allocations: 0.5206 MB / 0.5327 GB, free: 4.969 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.364e-05/0.02979, allocations: 45.69 kB / 0.5328 GB, free: 4.918 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.02979, allocations: 0 / 0.5328 GB, free: 4.918 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.02981, allocations: 0 / 0.5328 GB, free: 4.918 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003521/0.03016, allocations: 50.02 kB / 0.5328 GB, free: 4.871 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.916e-06/0.03017, allocations: 3.984 kB / 0.5328 GB, free: 4.867 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000269/0.03044, allocations: 33.42 kB / 0.5329 GB, free: 4.836 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.885e-05/0.03047, allocations: 8 kB / 0.5329 GB, free: 4.828 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.0002032/0.03067, allocations: 161.7 kB / 0.533 GB, free: 4.66 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.324e-05/0.03077, allocations: 45.02 kB / 0.5331 GB, free: 4.617 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00106/0.03183, allocations: 340.3 kB / 0.5334 GB, free: 4.281 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.03183, allocations: 0 / 0.5334 GB, free: 4.281 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.03184, allocations: 4 kB / 0.5334 GB, free: 4.277 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/0.03184, allocations: 7.922 kB / 0.5334 GB, free: 4.27 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004014/0.03224, allocations: 257.1 kB / 0.5337 GB, free: 3.988 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.03225, allocations: 0 / 0.5337 GB, free: 3.988 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003071/0.03255, allocations: 44.62 kB / 0.5337 GB, free: 3.945 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.03256, allocations: 3.25 kB / 0.5337 GB, free: 3.945 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.47e-05/0.03258, allocations: 7.984 kB / 0.5337 GB, free: 3.938 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.03259, allocations: 4 kB / 0.5337 GB, free: 3.934 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.03259, allocations: 7.922 kB / 0.5337 GB, free: 3.926 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.03362, allocations: 417.3 kB / 0.5341 GB, free: 3.504 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.03375, allocations: 51.67 kB / 0.5342 GB, free: 3.453 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.138e-05/0.0338, allocations: 8 kB / 0.5342 GB, free: 3.445 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002895/0.03409, allocations: 29.92 kB / 0.5342 GB, free: 3.418 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.71e-05/0.03418, allocations: 11.98 kB / 0.5342 GB, free: 3.406 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.111e-05/0.0342, allocations: 7.984 kB / 0.5342 GB, free: 3.398 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003923/0.03459, allocations: 297.5 kB / 0.5345 GB, free: 3.109 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.03459, allocations: 0 / 0.5345 GB, free: 3.109 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005216/0.03511, allocations: 123.8 kB / 0.5346 GB, free: 2.988 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.0007406/0.03585, allocations: 190.9 kB / 0.5348 GB, free: 2.789 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001162/0.03701, allocations: 456.7 kB / 0.5352 GB, free: 2.328 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.03702, allocations: 0 / 0.5352 GB, free: 2.328 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004447/0.03746, allocations: 141.8 kB / 0.5354 GB, free: 2.191 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000605/0.03807, allocations: 88.78 kB / 0.5355 GB, free: 2.113 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001365/0.03943, allocations: 0.6205 MB / 0.5361 GB, free: 1.469 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002261/0.03966, allocations: 182.2 kB / 0.5362 GB, free: 1.273 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002113/0.03987, allocations: 47.98 kB / 0.5363 GB, free: 1.234 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.03997, allocations: 28.48 kB / 0.5363 GB, free: 1.207 MB / 0.4948 GB Notification: Performance of SimCode: time 7.32e-07/0.03997, allocations: 3.156 kB / 0.5363 GB, free: 1.207 MB / 0.4948 GB Notification: Performance of Templates: time 0.01155/0.05152, allocations: 5.104 MB / 0.5413 GB, free: 12.29 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=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.930553114973009]