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.0008797/0.0008797, allocations: 76.45 kB / 19.9 MB, free: 16 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.0008778/0.0008778, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.9068/0.9068, allocations: 177.2 MB / 203.6 MB, free: 5.766 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.737/0.737, allocations: 154.7 MB / 414.7 MB, free: 0.7344 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.000895/0.000895, allocations: 71.91 kB / 0.6195 GB, free: 13.11 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.4558/0.4567, 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.002877/0.4595, allocations: 1.997 MB / 0.7211 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.004439/0.464, allocations: 3.904 MB / 0.7249 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001591/0.4641, allocations: 2.562 kB / 0.7249 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0008688/0.465, allocations: 185.5 kB / 0.725 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 9.779e-05/0.4651, allocations: 67.17 kB / 0.7251 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000653/0.4657, allocations: 309.8 kB / 0.7254 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0005422/0.4663, allocations: 396.2 kB / 0.7258 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.4664, allocations: 32.8 kB / 0.7258 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001958/0.4666, allocations: 161.2 kB / 0.726 GB, free: 19.17 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001422/0.4667, allocations: 122.4 kB / 0.7261 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.973e-05/0.4668, allocations: 16.25 kB / 0.7261 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004539/0.4672, allocations: 312.4 kB / 0.7264 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.4673, allocations: 107 kB / 0.7265 GB, free: 19 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.4674, allocations: 118.1 kB / 0.7266 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0005677/0.468, allocations: 0.5322 MB / 0.7271 GB, free: 18.74 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.468, allocations: 0 / 0.7271 GB, free: 18.74 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.694e-06/0.468, allocations: 1.219 kB / 0.7271 GB, free: 18.74 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.715e-06/0.468, allocations: 0 / 0.7271 GB, free: 18.74 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.0008362/0.4689, allocations: 0.7015 MB / 0.7278 GB, free: 18.21 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.4689, allocations: 9.156 kB / 0.7278 GB, free: 18.21 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002693/0.4692, allocations: 79.7 kB / 0.7279 GB, free: 18.2 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004321/0.4696, allocations: 295 kB / 0.7282 GB, free: 17.98 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.4696, allocations: 4.562 kB / 0.7282 GB, free: 17.98 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/0.4696, allocations: 11.08 kB / 0.7282 GB, free: 17.98 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003631/0.47, allocations: 201.3 kB / 0.7284 GB, free: 17.91 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.47, allocations: 3.938 kB / 0.7284 GB, free: 17.9 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.47, allocations: 1.156 kB / 0.7284 GB, free: 17.9 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.413e-06/0.47, allocations: 6.828 kB / 0.7284 GB, free: 17.9 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004524/0.4705, allocations: 241.2 kB / 0.7286 GB, free: 17.86 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000669/0.4712, allocations: 0.4975 MB / 0.7291 GB, free: 17.55 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002763/0.4714, allocations: 166.5 kB / 0.7293 GB, free: 17.5 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002138/0.4716, allocations: 132.8 kB / 0.7294 GB, free: 17.47 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.166e-05/0.4717, allocations: 19.86 kB / 0.7294 GB, free: 17.46 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.781e-05/0.4717, allocations: 40.17 kB / 0.7295 GB, free: 17.42 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 1.333e-06/0.4717, allocations: 0 / 0.7295 GB, free: 17.42 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.000783/0.4725, allocations: 444.8 kB / 0.7299 GB, free: 17.29 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.431e-05/0.4725, allocations: 52.59 kB / 0.7299 GB, free: 17.23 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003606/0.4729, allocations: 425.6 kB / 0.7303 GB, free: 17.03 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.4729, allocations: 33.7 kB / 0.7304 GB, free: 16.99 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.369e-05/0.473, allocations: 181.1 kB / 0.7305 GB, free: 16.84 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.404e-05/0.473, allocations: 39.94 kB / 0.7306 GB, free: 16.81 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.152e-05/0.4731, allocations: 39.19 kB / 0.7306 GB, free: 16.79 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.666e-05/0.4732, allocations: 353.2 kB / 0.731 GB, free: 16.45 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002961/0.4735, allocations: 209.1 kB / 0.7312 GB, free: 16.38 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002824/0.4737, allocations: 211.5 kB / 0.7314 GB, free: 16.31 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005012/0.4742, allocations: 367.6 kB / 0.7317 GB, free: 16.19 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4742, allocations: 0 / 0.7317 GB, free: 16.19 MB / 0.6355 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005912/0.4748, allocations: 0.5164 MB / 0.7322 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.663e-05/0.4749, allocations: 43.27 kB / 0.7323 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.4749, allocations: 1.375 kB / 0.7323 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.4749, allocations: 0.6094 kB / 0.7323 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.4751, allocations: 47.27 kB / 0.7323 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.4751, allocations: 2.125 kB / 0.7323 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001357/0.4752, allocations: 50.42 kB / 0.7324 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/0.4752, allocations: 10.69 kB / 0.7324 GB, free: 15.92 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 9.751e-05/0.4753, allocations: 154.8 kB / 0.7325 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.337e-05/0.4753, allocations: 36.27 kB / 0.7325 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005759/0.4759, allocations: 343.4 kB / 0.7329 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.4759, allocations: 1.188 kB / 0.7329 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.4759, allocations: 2.047 kB / 0.7329 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.4759, allocations: 0.6094 kB / 0.7329 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002491/0.4762, allocations: 269.5 kB / 0.7331 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.4762, allocations: 0.5625 kB / 0.7331 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/0.4763, allocations: 60.53 kB / 0.7332 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.4763, allocations: 0 / 0.7332 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.4763, allocations: 3.5 kB / 0.7332 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.4763, allocations: 1.312 kB / 0.7332 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.4764, allocations: 0.7031 kB / 0.7332 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005075/0.4769, allocations: 419.1 kB / 0.7336 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.517e-05/0.4769, allocations: 55.73 kB / 0.7336 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.584e-05/0.477, allocations: 4.703 kB / 0.7337 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.4771, allocations: 23.95 kB / 0.7337 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.541e-05/0.4771, allocations: 19.84 kB / 0.7337 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.051e-05/0.4771, allocations: 4.641 kB / 0.7337 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002162/0.4774, allocations: 299.4 kB / 0.734 GB, free: 15.08 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4774, allocations: 7.938 kB / 0.734 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004562/0.4778, allocations: 121.8 kB / 0.7341 GB, free: 15.05 MB / 0.6355 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.0002495/0.4781, allocations: 166 kB / 0.7343 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006266/0.4787, allocations: 466.6 kB / 0.7347 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.4787, allocations: 0 / 0.7347 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002284/0.4789, allocations: 132.9 kB / 0.7348 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003422/0.4793, allocations: 64.55 kB / 0.7349 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008741/0.4801, allocations: 0.6627 MB / 0.7355 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000181/0.4803, allocations: 182.8 kB / 0.7357 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000138/0.4805, allocations: 45.86 kB / 0.7358 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.638e-05/0.4805, allocations: 24.48 kB / 0.7358 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of SimCode: time 6.22e-07/0.4805, allocations: 1.5 kB / 0.7358 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of Templates: time 0.008171/0.4887, allocations: 5.106 MB / 0.7408 GB, free: 13.72 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.2514976429520175] Failed to read output from testmodel.py, exit status != 0: 0.4952908100094646 0.5093835569999999 0.038678986000000005 Calling exit ...