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.0007714/0.0007714, allocations: 76.45 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.000759/0.000759, allocations: 165.9 kB / 23.18 MB, free: 1.375 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.9007/0.9007, 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.7203/0.7203, allocations: 154.7 MB / 414.7 MB, free: 0.7578 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.0009196/0.0009196, allocations: 75.89 kB / 0.6196 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.4599/0.4608, allocations: 101.9 MB / 0.7191 GB, free: 23.65 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.00336/0.4642, allocations: 1.99 MB / 0.7211 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.003748/0.4679, allocations: 3.905 MB / 0.7249 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.468, allocations: 6.375 kB / 0.7249 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0007402/0.4688, allocations: 182.7 kB / 0.7251 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 9.283e-05/0.4689, allocations: 66.77 kB / 0.7251 GB, free: 19.53 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006233/0.4695, allocations: 306.8 kB / 0.7254 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0005683/0.4701, allocations: 392.3 kB / 0.7258 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.4702, allocations: 36.33 kB / 0.7258 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000189/0.4704, allocations: 161.2 kB / 0.726 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001521/0.4705, allocations: 122.9 kB / 0.7261 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.873e-05/0.4705, allocations: 20 kB / 0.7261 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004656/0.471, allocations: 307.8 kB / 0.7264 GB, free: 19.03 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001268/0.4711, allocations: 111.4 kB / 0.7265 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.4712, allocations: 118.3 kB / 0.7266 GB, free: 18.92 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0006823/0.4719, allocations: 0.5984 MB / 0.7272 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.4719, allocations: 3.938 kB / 0.7272 GB, free: 18.69 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.325e-06/0.4719, allocations: 0 / 0.7272 GB, free: 18.69 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.957e-06/0.4719, allocations: 1.375 kB / 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.0009032/0.4729, allocations: 0.6925 MB / 0.7279 GB, free: 18.18 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.4729, allocations: 9.703 kB / 0.7279 GB, free: 18.18 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002663/0.4732, allocations: 79.55 kB / 0.728 GB, free: 18.16 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000394/0.4736, allocations: 295.2 kB / 0.7283 GB, free: 17.94 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.4736, allocations: 8.562 kB / 0.7283 GB, free: 17.94 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.4736, allocations: 5.875 kB / 0.7283 GB, free: 17.94 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003707/0.474, allocations: 208 kB / 0.7285 GB, free: 17.86 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.474, allocations: 0 / 0.7285 GB, free: 17.86 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.474, allocations: 5.812 kB / 0.7285 GB, free: 17.86 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.474, allocations: 2.25 kB / 0.7285 GB, free: 17.86 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004573/0.4745, allocations: 241.8 kB / 0.7287 GB, free: 17.81 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006758/0.4751, allocations: 0.496 MB / 0.7292 GB, free: 17.51 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002771/0.4754, allocations: 171.4 kB / 0.7293 GB, free: 17.46 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002257/0.4756, allocations: 128.7 kB / 0.7295 GB, free: 17.43 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.413e-05/0.4757, allocations: 15.16 kB / 0.7295 GB, free: 17.43 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.647e-05/0.4757, allocations: 41.19 kB / 0.7295 GB, free: 17.38 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 1.403e-06/0.4757, allocations: 4 kB / 0.7295 GB, free: 17.38 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0008211/0.4765, allocations: 450.2 kB / 0.73 GB, free: 17.25 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.183e-05/0.4765, allocations: 53.12 kB / 0.73 GB, free: 17.18 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003711/0.4769, allocations: 424.8 kB / 0.7304 GB, free: 16.98 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.4769, allocations: 27.27 kB / 0.7304 GB, free: 16.95 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.7e-05/0.477, allocations: 184.7 kB / 0.7306 GB, free: 16.8 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.943e-05/0.4771, allocations: 43.64 kB / 0.7307 GB, free: 16.76 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.592e-05/0.4771, allocations: 39.19 kB / 0.7307 GB, free: 16.74 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.78e-05/0.4772, allocations: 352.1 kB / 0.731 GB, free: 16.41 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002813/0.4774, allocations: 211.1 kB / 0.7312 GB, free: 16.34 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002576/0.4777, allocations: 211.2 kB / 0.7314 GB, free: 16.27 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004946/0.4782, allocations: 362 kB / 0.7318 GB, free: 16.15 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4782, allocations: 0 / 0.7318 GB, free: 16.15 MB / 0.6355 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006303/0.4788, allocations: 0.5123 MB / 0.7323 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.84e-05/0.4789, allocations: 45.22 kB / 0.7323 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.4789, allocations: 4 kB / 0.7323 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.4789, allocations: 1.469 kB / 0.7323 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.4791, allocations: 49.23 kB / 0.7324 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.4791, allocations: 3.984 kB / 0.7324 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001259/0.4792, allocations: 46.14 kB / 0.7324 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/0.4792, allocations: 11.67 kB / 0.7324 GB, free: 15.88 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 0.0001034/0.4793, allocations: 157.8 kB / 0.7326 GB, free: 15.74 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.726e-05/0.4794, allocations: 36.75 kB / 0.7326 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005677/0.4799, allocations: 344.7 kB / 0.7329 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.4799, allocations: 1.406 kB / 0.7329 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.4799, allocations: 0.6562 kB / 0.7329 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.4799, allocations: 2.078 kB / 0.733 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002243/0.4802, allocations: 269.1 kB / 0.7332 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.4802, allocations: 0 / 0.7332 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001344/0.4803, allocations: 45.25 kB / 0.7333 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.4803, allocations: 3.938 kB / 0.7333 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.4803, allocations: 7.578 kB / 0.7333 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.4803, allocations: 5.312 kB / 0.7333 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4803, allocations: 0 / 0.7333 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005241/0.4808, allocations: 419.5 kB / 0.7337 GB, free: 15.21 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.731e-05/0.4809, allocations: 54.73 kB / 0.7337 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/0.4809, allocations: 1.5 kB / 0.7337 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.4811, allocations: 32.91 kB / 0.7338 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.375e-05/0.4811, allocations: 15.08 kB / 0.7338 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.4811, allocations: 5.25 kB / 0.7338 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002277/0.4814, allocations: 295.5 kB / 0.7341 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.4814, allocations: 3.938 kB / 0.7341 GB, free: 15.03 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003629/0.4817, allocations: 117.8 kB / 0.7342 GB, free: 15.02 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.0002494/0.482, allocations: 177 kB / 0.7343 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006549/0.4826, allocations: 465.3 kB / 0.7348 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4826, allocations: 1.312 kB / 0.7348 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000235/0.4829, allocations: 137.5 kB / 0.7349 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000337/0.4832, allocations: 64.42 kB / 0.735 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008336/0.484, allocations: 0.6902 MB / 0.7357 GB, free: 14.28 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001539/0.4842, allocations: 180 kB / 0.7358 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.94e-05/0.4843, allocations: 30.55 kB / 0.7359 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of SimCode: time 9.02e-07/0.4843, allocations: 1.344 kB / 0.7359 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of Templates: time 0.0075/0.4918, allocations: 5.084 MB / 0.7408 GB, free: 13.68 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: 6.29897351609543] Failed to read output from testmodel.py, exit status != 0: 0.4982384250033647 0.507463377 0.033584308 Calling exit ...