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.0007907/0.0007907, allocations: 80.44 kB / 19.91 MB, free: 4 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.0008006/0.0008006, allocations: 169.2 kB / 23.19 MB, free: 1.371 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.8478/0.8478, allocations: 177.2 MB / 203.6 MB, free: 5.773 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-531:686: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-531:694: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.7086/0.7086, allocations: 154.7 MB / 414.7 MB, free: 0.7539 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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008878/0.0008878, allocations: 75.83 kB / 0.6196 GB, free: 13.1 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.3895/0.3903, allocations: 101.9 MB / 0.7191 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002216/0.3926, allocations: 1.993 MB / 0.7211 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.003318/0.3959, allocations: 3.906 MB / 0.7249 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.396, allocations: 6.25 kB / 0.7249 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0007279/0.3967, allocations: 178.5 kB / 0.7251 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 9.491e-05/0.3968, allocations: 70.88 kB / 0.7251 GB, free: 19.53 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000602/0.3974, allocations: 309.9 kB / 0.7254 GB, free: 19.4 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0005002/0.3979, allocations: 388.7 kB / 0.7258 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.448e-05/0.398, allocations: 37.88 kB / 0.7258 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000155/0.3982, allocations: 164.2 kB / 0.726 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001165/0.3983, allocations: 121.2 kB / 0.7261 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.548e-05/0.3983, allocations: 20.31 kB / 0.7261 GB, free: 19.1 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004098/0.3987, allocations: 313.7 kB / 0.7264 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 9.668e-05/0.3988, allocations: 98.25 kB / 0.7265 GB, free: 18.99 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 9.072e-05/0.3989, allocations: 118 kB / 0.7266 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000615/0.3995, allocations: 0.6055 MB / 0.7272 GB, free: 18.69 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3995, allocations: 1.094 kB / 0.7272 GB, free: 18.69 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3995, allocations: 0 / 0.7272 GB, free: 18.69 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.3995, allocations: 0 / 0.7272 GB, free: 18.69 MB / 0.6355 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.0009338/0.4005, allocations: 0.6987 MB / 0.7279 GB, free: 18.17 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.4005, allocations: 8.875 kB / 0.7279 GB, free: 18.17 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000278/0.4008, allocations: 83.72 kB / 0.728 GB, free: 18.15 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000427/0.4012, allocations: 295 kB / 0.7283 GB, free: 17.93 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.4012, allocations: 3.25 kB / 0.7283 GB, free: 17.93 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.061e-05/0.4012, allocations: 11.03 kB / 0.7283 GB, free: 17.93 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003385/0.4016, allocations: 204.1 kB / 0.7285 GB, free: 17.86 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.4016, allocations: 0 / 0.7285 GB, free: 17.86 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.4016, allocations: 1.281 kB / 0.7285 GB, free: 17.86 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.4016, allocations: 1.406 kB / 0.7285 GB, free: 17.86 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004231/0.402, allocations: 246.2 kB / 0.7287 GB, free: 17.81 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006523/0.4027, allocations: 0.4966 MB / 0.7292 GB, free: 17.51 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002752/0.403, allocations: 166.6 kB / 0.7294 GB, free: 17.46 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002219/0.4032, allocations: 132.6 kB / 0.7295 GB, free: 17.42 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.511e-05/0.4032, allocations: 20.03 kB / 0.7295 GB, free: 17.42 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.585e-05/0.4032, allocations: 33.12 kB / 0.7295 GB, free: 17.38 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 1.092e-06/0.4032, allocations: 4 kB / 0.7295 GB, free: 17.38 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0008054/0.4041, allocations: 441.6 kB / 0.73 GB, free: 17.25 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.626e-05/0.4041, allocations: 52.78 kB / 0.73 GB, free: 17.19 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000317/0.4044, allocations: 429.9 kB / 0.7304 GB, free: 16.99 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.4044, allocations: 29.7 kB / 0.7304 GB, free: 16.95 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.665e-05/0.4045, allocations: 185.5 kB / 0.7306 GB, free: 16.8 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.278e-05/0.4045, allocations: 39.39 kB / 0.7307 GB, free: 16.77 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.522e-05/0.4046, allocations: 40.09 kB / 0.7307 GB, free: 16.74 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.365e-05/0.4046, allocations: 352.7 kB / 0.731 GB, free: 16.41 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002557/0.4049, allocations: 214.6 kB / 0.7312 GB, free: 16.34 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002462/0.4051, allocations: 213.4 kB / 0.7314 GB, free: 16.26 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004833/0.4056, allocations: 360.8 kB / 0.7318 GB, free: 16.15 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.4056, allocations: 0 / 0.7318 GB, free: 16.15 MB / 0.6355 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005856/0.4062, allocations: 0.5088 MB / 0.7323 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.126e-05/0.4062, allocations: 46.06 kB / 0.7323 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.4062, allocations: 0 / 0.7323 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.4062, allocations: 2.078 kB / 0.7323 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001608/0.4064, allocations: 55.12 kB / 0.7324 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.4064, allocations: 0 / 0.7324 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.4065, allocations: 39.5 kB / 0.7324 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.4066, allocations: 6.891 kB / 0.7324 GB, free: 15.89 MB / 0.6355 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.823e-05/0.4066, allocations: 163.8 kB / 0.7326 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.409e-05/0.4067, allocations: 39.44 kB / 0.7326 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005285/0.4072, allocations: 349 kB / 0.733 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.4072, allocations: 1.219 kB / 0.733 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.4072, allocations: 0 / 0.733 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.241e-05/0.4073, allocations: 55.14 kB / 0.733 GB, free: 15.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.773e-05/0.4073, allocations: 9.766 kB / 0.733 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.4074, allocations: 23.86 kB / 0.733 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.845e-05/0.4075, allocations: 15.52 kB / 0.7331 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005155/0.408, allocations: 400.2 kB / 0.7334 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004737/0.4085, allocations: 0.4955 MB / 0.7339 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002143/0.4087, allocations: 130.1 kB / 0.734 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002043/0.4089, allocations: 300.9 kB / 0.7343 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of Backend: time 2.3e-07/0.4089, allocations: 0 / 0.7343 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007725/0.4097, allocations: 490.6 kB / 0.7348 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0007638/0.4104, allocations: 1.091 MB / 0.7359 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of Templates: time 0.008077/0.4185, allocations: 6.111 MB / 0.7418 GB, free: 13.29 MB / 0.6355 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: 3.9145312211476266] Failed to read output from testmodel.py, exit status != 0: 0.42342957598157227 0.431136404 0.029979640000000002 Calling exit ...