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.001315/0.001315, allocations: 93.06 kB / 19.65 MB, free: 280 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.001004/0.001004, allocations: 169 kB / 23.02 MB, free: 1.551 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.9151/0.9151, allocations: 177.1 MB / 203.4 MB, free: 5.633 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-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 0.7091/0.7091, allocations: 154.6 MB / 414.5 MB, free: 0.6641 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: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 3.938 kB / 0.5203 GB, free: 2.211 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.266e-05/1.403e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.207 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002203/0.002217, allocations: 2.081 MB / 0.5224 GB, free: 140 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003835/0.006052, allocations: 4.183 MB / 0.5264 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.817e-05/0.00615, allocations: 3.938 kB / 0.5264 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007415/0.006892, allocations: 188.8 kB / 0.5266 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001137/0.007005, allocations: 73.86 kB / 0.5267 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006013/0.007607, allocations: 311.8 kB / 0.527 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0005033/0.00811, allocations: 398.7 kB / 0.5274 GB, free: 11 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.957e-05/0.00821, allocations: 35.11 kB / 0.5274 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001524/0.008362, allocations: 155.6 kB / 0.5276 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.008473, allocations: 103.7 kB / 0.5277 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.481e-05/0.008498, allocations: 12 kB / 0.5277 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003658/0.008864, allocations: 315.4 kB / 0.528 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 8.757e-05/0.008951, allocations: 108.2 kB / 0.5281 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 7.778e-05/0.009029, allocations: 84.88 kB / 0.5281 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004606/0.00949, allocations: 0.5061 MB / 0.5286 GB, free: 9.695 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.009492, allocations: 0 / 0.5286 GB, free: 9.695 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.71e-07/0.009493, allocations: 0.5 kB / 0.5286 GB, free: 9.695 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.009498, allocations: 0 / 0.5286 GB, free: 9.695 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.0007684/0.01027, allocations: 0.7634 MB / 0.5294 GB, free: 8.891 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.0103, allocations: 8.031 kB / 0.5294 GB, free: 8.883 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002334/0.01053, allocations: 84.7 kB / 0.5295 GB, free: 8.805 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002453/0.01078, allocations: 262.8 kB / 0.5297 GB, free: 8.523 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.01079, allocations: 8.312 kB / 0.5297 GB, free: 8.516 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.749e-05/0.01081, allocations: 8.375 kB / 0.5297 GB, free: 8.508 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002232/0.01103, allocations: 137 kB / 0.5299 GB, free: 8.367 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-06/0.01104, allocations: 2.875 kB / 0.5299 GB, free: 8.367 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.01105, allocations: 8.125 kB / 0.5299 GB, free: 8.359 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.01106, allocations: 3.984 kB / 0.5299 GB, free: 8.355 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.698e-05/0.01116, allocations: 35.97 kB / 0.5299 GB, free: 8.32 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005353/0.01169, allocations: 0.4974 MB / 0.5304 GB, free: 7.789 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.649e-05/0.01179, allocations: 51.03 kB / 0.5305 GB, free: 7.727 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.757e-05/0.01185, allocations: 31.67 kB / 0.5305 GB, free: 7.691 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.229e-05/0.01189, allocations: 20.56 kB / 0.5305 GB, free: 7.672 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.01191, allocations: 41.38 kB / 0.5305 GB, free: 7.621 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=11): time 1.543e-06/0.01191, allocations: 1.969 kB / 0.5305 GB, free: 7.621 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.0002892/0.0122, allocations: 144.4 kB / 0.5307 GB, free: 7.477 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.617e-05/0.01223, allocations: 51.41 kB / 0.5307 GB, free: 7.414 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002637/0.01249, allocations: 446.6 kB / 0.5312 GB, free: 6.965 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.01251, allocations: 26.42 kB / 0.5312 GB, free: 6.934 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.01261, allocations: 234.8 kB / 0.5314 GB, free: 6.699 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.917e-05/0.01264, allocations: 40.31 kB / 0.5314 GB, free: 6.66 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.139e-05/0.01269, allocations: 43.36 kB / 0.5315 GB, free: 6.609 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.01283, allocations: 0.532 MB / 0.532 GB, free: 6.066 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.779e-05/0.0129, allocations: 66.17 kB / 0.5321 GB, free: 5.996 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.528e-05/0.01297, allocations: 68.06 kB / 0.5321 GB, free: 5.926 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001276/0.0131, allocations: 115.4 kB / 0.5322 GB, free: 5.805 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.0131, allocations: 4 kB / 0.5322 GB, free: 5.801 MB / 0.4948 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000235/0.01333, allocations: 242.7 kB / 0.5325 GB, free: 5.547 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/0.01336, allocations: 45.69 kB / 0.5325 GB, free: 5.496 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.01337, allocations: 3.984 kB / 0.5325 GB, free: 5.492 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.01338, allocations: 0.8438 kB / 0.5325 GB, free: 5.492 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.01351, allocations: 35.91 kB / 0.5326 GB, free: 5.457 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.01352, allocations: 0.6562 kB / 0.5326 GB, free: 5.457 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.167e-05/0.0136, allocations: 28.62 kB / 0.5326 GB, free: 5.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.01361, allocations: 11.98 kB / 0.5326 GB, free: 5.418 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 7.746e-05/0.01369, allocations: 162 kB / 0.5328 GB, free: 5.25 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.119e-05/0.01373, allocations: 39.77 kB / 0.5328 GB, free: 5.211 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002074/0.01394, allocations: 139.4 kB / 0.5329 GB, free: 5.07 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.01394, allocations: 3.938 kB / 0.5329 GB, free: 5.066 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.614e-06/0.01394, allocations: 4 kB / 0.5329 GB, free: 5.062 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.01395, allocations: 3.984 kB / 0.5329 GB, free: 5.059 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001977/0.01415, allocations: 264.3 kB / 0.5332 GB, free: 4.766 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.01415, allocations: 2.438 kB / 0.5332 GB, free: 4.766 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.404e-05/0.01424, allocations: 35.95 kB / 0.5332 GB, free: 4.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.01424, allocations: 0 / 0.5332 GB, free: 4.73 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.01425, allocations: 0 / 0.5332 GB, free: 4.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.01425, allocations: 0 / 0.5332 GB, free: 4.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.01425, allocations: 4 kB / 0.5332 GB, free: 4.727 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002005/0.01445, allocations: 280.9 kB / 0.5335 GB, free: 4.434 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.976e-05/0.01451, allocations: 55.72 kB / 0.5336 GB, free: 4.379 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/0.01454, allocations: 0 / 0.5336 GB, free: 4.379 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.848e-05/0.01463, allocations: 16.89 kB / 0.5336 GB, free: 4.363 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.472e-05/0.01468, allocations: 19.91 kB / 0.5336 GB, free: 4.344 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.637e-06/0.01469, allocations: 5.75 kB / 0.5336 GB, free: 4.34 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001535/0.01484, allocations: 283.1 kB / 0.5339 GB, free: 4.062 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01484, allocations: 0 / 0.5339 GB, free: 4.062 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000256/0.0151, allocations: 123.8 kB / 0.534 GB, free: 3.941 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.0002185/0.01532, allocations: 184.2 kB / 0.5342 GB, free: 3.754 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002352/0.01555, allocations: 210 kB / 0.5344 GB, free: 3.527 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.01555, allocations: 0.8438 kB / 0.5344 GB, free: 3.527 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.638e-05/0.01562, allocations: 43.66 kB / 0.5344 GB, free: 3.48 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002833/0.0159, allocations: 76.28 kB / 0.5345 GB, free: 3.41 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007995/0.0167, allocations: 0.5627 MB / 0.535 GB, free: 2.828 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.784e-05/0.01676, allocations: 99.94 kB / 0.5351 GB, free: 2.711 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001016/0.01686, allocations: 44.39 kB / 0.5352 GB, free: 2.672 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.964e-05/0.01692, allocations: 24.48 kB / 0.5352 GB, free: 2.648 MB / 0.4948 GB Notification: Performance of SimCode: time 6.61e-07/0.01692, allocations: 0 / 0.5352 GB, free: 2.648 MB / 0.4948 GB Notification: Performance of Templates: time 0.006826/0.02375, allocations: 5.599 MB / 0.5407 GB, free: 13.27 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=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7026972980238497]