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.0009147/0.0009147, 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.001076/0.001076, allocations: 170.2 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.9703/0.9703, allocations: 177.2 MB / 203.6 MB, free: 5.781 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.7447/0.7447, allocations: 154.7 MB / 414.7 MB, free: 0.7617 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.001298/0.001298, allocations: 75.89 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.5119/0.5132, 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.002498/0.5157, allocations: 1.998 MB / 0.7211 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.00338/0.5191, allocations: 3.902 MB / 0.7249 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.81e-05/0.5192, allocations: 2.406 kB / 0.7249 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0008129/0.52, allocations: 187.5 kB / 0.725 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 8.895e-05/0.5201, allocations: 65.53 kB / 0.7251 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005661/0.5207, allocations: 315.1 kB / 0.7254 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0005382/0.5212, allocations: 387.4 kB / 0.7258 GB, free: 19.26 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.5213, allocations: 34.08 kB / 0.7258 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001545/0.5214, allocations: 164.2 kB / 0.726 GB, free: 19.17 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.5216, allocations: 122.3 kB / 0.7261 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.651e-05/0.5216, allocations: 16.94 kB / 0.7261 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004078/0.522, allocations: 311.9 kB / 0.7264 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.5221, allocations: 106.4 kB / 0.7265 GB, free: 19 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 9.063e-05/0.5222, allocations: 118.8 kB / 0.7266 GB, free: 18.93 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0005475/0.5228, allocations: 0.5323 MB / 0.7271 GB, free: 18.74 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.5228, allocations: 0.7031 kB / 0.7271 GB, free: 18.74 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5228, allocations: 0 / 0.7271 GB, free: 18.74 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.5228, 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.0008383/0.5236, allocations: 0.7015 MB / 0.7278 GB, free: 18.21 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.5236, allocations: 10.16 kB / 0.7278 GB, free: 18.21 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002607/0.5239, allocations: 83.09 kB / 0.7279 GB, free: 18.19 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003676/0.5243, allocations: 284.6 kB / 0.7282 GB, free: 17.99 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.5243, allocations: 7.656 kB / 0.7282 GB, free: 17.98 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.999e-05/0.5243, allocations: 13.62 kB / 0.7282 GB, free: 17.98 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000321/0.5246, allocations: 203.4 kB / 0.7284 GB, free: 17.9 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.5246, allocations: 1.406 kB / 0.7284 GB, free: 17.9 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.5246, allocations: 0 / 0.7284 GB, free: 17.9 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.5247, allocations: 3.203 kB / 0.7284 GB, free: 17.9 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004221/0.5251, allocations: 241.4 kB / 0.7286 GB, free: 17.86 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006932/0.5258, allocations: 0.5009 MB / 0.7291 GB, free: 17.55 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002847/0.5261, allocations: 174.4 kB / 0.7293 GB, free: 17.5 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002255/0.5263, allocations: 128.8 kB / 0.7294 GB, free: 17.46 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.082e-05/0.5263, allocations: 19.38 kB / 0.7294 GB, free: 17.46 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.813e-05/0.5263, allocations: 33.11 kB / 0.7295 GB, free: 17.42 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.5264, allocations: 4 kB / 0.7295 GB, free: 17.42 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0007958/0.5271, allocations: 442.9 kB / 0.7299 GB, free: 17.29 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.949e-05/0.5272, allocations: 53.75 kB / 0.7299 GB, free: 17.23 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003161/0.5275, allocations: 426.3 kB / 0.7303 GB, free: 17.03 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.5275, allocations: 34.39 kB / 0.7304 GB, free: 16.99 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.446e-05/0.5276, allocations: 179.8 kB / 0.7305 GB, free: 16.84 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.746e-05/0.5276, allocations: 39.92 kB / 0.7306 GB, free: 16.81 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.398e-05/0.5277, allocations: 40.09 kB / 0.7306 GB, free: 16.79 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.647e-05/0.5277, allocations: 351.8 kB / 0.731 GB, free: 16.45 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002659/0.528, allocations: 214.1 kB / 0.7312 GB, free: 16.38 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002582/0.5282, allocations: 210.6 kB / 0.7314 GB, free: 16.31 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000473/0.5287, allocations: 366.2 kB / 0.7317 GB, free: 16.19 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5287, allocations: 0 / 0.7317 GB, free: 16.19 MB / 0.6355 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006227/0.5293, allocations: 0.5121 MB / 0.7322 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.674e-05/0.5294, allocations: 42.67 kB / 0.7323 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.5294, allocations: 0 / 0.7323 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.5294, allocations: 0 / 0.7323 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001753/0.5296, allocations: 53.25 kB / 0.7323 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.5296, allocations: 0 / 0.7323 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001291/0.5297, allocations: 43 kB / 0.7323 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/0.5297, allocations: 10.78 kB / 0.7324 GB, free: 15.93 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.687e-05/0.5298, allocations: 159.6 kB / 0.7325 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.552e-05/0.5298, allocations: 35.55 kB / 0.7325 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005448/0.5304, allocations: 345 kB / 0.7329 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.5304, allocations: 1.312 kB / 0.7329 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.5304, allocations: 0 / 0.7329 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.5304, allocations: 5.484 kB / 0.7329 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002265/0.5306, allocations: 265.5 kB / 0.7331 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.5306, allocations: 1.25 kB / 0.7331 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001364/0.5308, allocations: 51.19 kB / 0.7332 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.5308, allocations: 1.438 kB / 0.7332 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.5308, allocations: 3.453 kB / 0.7332 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.5308, allocations: 1.984 kB / 0.7332 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.5308, allocations: 0 / 0.7332 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004935/0.5313, allocations: 422.2 kB / 0.7336 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.065e-05/0.5314, allocations: 60.61 kB / 0.7336 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.495e-05/0.5314, allocations: 4.797 kB / 0.7336 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.5315, allocations: 31.41 kB / 0.7337 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.431e-05/0.5316, allocations: 15.83 kB / 0.7337 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.5316, allocations: 4.344 kB / 0.7337 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002152/0.5318, allocations: 297.1 kB / 0.734 GB, free: 15.08 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.5318, allocations: 0 / 0.734 GB, free: 15.08 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003421/0.5321, allocations: 125.7 kB / 0.7341 GB, free: 15.06 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.0002313/0.5324, allocations: 164.1 kB / 0.7343 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006095/0.533, allocations: 467.7 kB / 0.7347 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.533, allocations: 1.094 kB / 0.7347 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000229/0.5332, allocations: 140 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.0003197/0.5335, allocations: 60.56 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.0007648/0.5343, allocations: 0.6542 MB / 0.7355 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001404/0.5344, allocations: 183.3 kB / 0.7357 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001187/0.5345, allocations: 50.33 kB / 0.7358 GB, free: 14.26 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.794e-05/0.5346, allocations: 28.45 kB / 0.7358 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of SimCode: time 3.91e-07/0.5346, allocations: 0 / 0.7358 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of Templates: time 0.007383/0.542, allocations: 5.105 MB / 0.7408 GB, free: 13.73 MB / 0.6355 GB " [Timeout remaining time 659] 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 gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.42148575198371] Failed to read output from testmodel.py, exit status != 0: 0.5482709439238533 0.560280201 0.03499545099999994 Calling exit ...