Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001076/0.001076, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.001014/0.001014, allocations: 173 kB / 23.49 MB, free: 1.062 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.9465/0.9465, allocations: 177.1 MB / 203.8 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7545/0.7545, allocations: 154.8 MB / 415.1 MB, free: 496 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.183e-06/1.183e-06, allocations: 0 / 0.5206 GB, free: 2.273 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.535e-05/1.653e-05, allocations: 2.312 kB / 0.5206 GB, free: 2.27 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002218/0.002234, allocations: 2.087 MB / 0.5226 GB, free: 200 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003698/0.005932, allocations: 4.183 MB / 0.5267 GB, free: 12 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.649e-05/0.006019, allocations: 4 kB / 0.5267 GB, free: 12 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006122/0.006631, allocations: 197 kB / 0.5269 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.687e-05/0.006708, allocations: 65.42 kB / 0.5269 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004347/0.007143, allocations: 310.1 kB / 0.5272 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0004239/0.007567, allocations: 401.3 kB / 0.5276 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.522e-05/0.007662, allocations: 32.56 kB / 0.5277 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.007798, allocations: 155.5 kB / 0.5278 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.007907, allocations: 110.4 kB / 0.5279 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.379e-05/0.007931, allocations: 16 kB / 0.5279 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005752/0.008506, allocations: 307.5 kB / 0.5282 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 8.671e-05/0.008593, allocations: 107.7 kB / 0.5283 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 7.701e-05/0.00867, allocations: 95.7 kB / 0.5284 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004313/0.009101, allocations: 0.5037 MB / 0.5289 GB, free: 9.742 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.255e-06/0.009103, allocations: 0 / 0.5289 GB, free: 9.742 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.61e-07/0.009104, allocations: 0 / 0.5289 GB, free: 9.742 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.009108, allocations: 0 / 0.5289 GB, free: 9.742 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.0007385/0.009847, allocations: 0.7747 MB / 0.5297 GB, free: 8.926 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.00988, allocations: 12.69 kB / 0.5297 GB, free: 8.914 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005209/0.0104, allocations: 156.1 kB / 0.5298 GB, free: 8.766 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003271/0.01073, allocations: 278 kB / 0.5301 GB, free: 8.477 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.01074, allocations: 4.375 kB / 0.5301 GB, free: 8.473 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.01076, allocations: 16.31 kB / 0.5301 GB, free: 8.457 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002359/0.011, allocations: 142.8 kB / 0.5302 GB, free: 8.309 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-06/0.011, allocations: 192 / 0.5302 GB, free: 8.309 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.979e-05/0.01102, allocations: 5.938 kB / 0.5302 GB, free: 8.305 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.01103, allocations: 0 / 0.5302 GB, free: 8.305 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000123/0.01115, allocations: 49.52 kB / 0.5303 GB, free: 8.258 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000581/0.01173, allocations: 0.5063 MB / 0.5308 GB, free: 7.719 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.84e-05/0.01183, allocations: 51.05 kB / 0.5308 GB, free: 7.656 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.764e-05/0.0119, allocations: 35.67 kB / 0.5309 GB, free: 7.617 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.138e-05/0.01194, allocations: 15.98 kB / 0.5309 GB, free: 7.602 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.01196, allocations: 37.39 kB / 0.5309 GB, free: 7.555 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=11): time 1.342e-06/0.01196, allocations: 3.594 kB / 0.5309 GB, free: 7.555 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.000333/0.01229, allocations: 165.6 kB / 0.5311 GB, free: 7.387 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.473e-05/0.01232, allocations: 55.39 kB / 0.5311 GB, free: 7.32 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002651/0.01258, allocations: 438.7 kB / 0.5316 GB, free: 6.879 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.0126, allocations: 25.7 kB / 0.5316 GB, free: 6.848 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.01271, allocations: 238.7 kB / 0.5318 GB, free: 6.609 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.196e-05/0.01275, allocations: 39.69 kB / 0.5318 GB, free: 6.57 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.655e-05/0.0128, allocations: 51.34 kB / 0.5319 GB, free: 6.512 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.01292, allocations: 0.5274 MB / 0.5324 GB, free: 5.973 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.317e-05/0.01302, allocations: 68.53 kB / 0.5325 GB, free: 5.902 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.524e-05/0.01309, allocations: 66.98 kB / 0.5325 GB, free: 5.832 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.01324, allocations: 127.2 kB / 0.5327 GB, free: 5.699 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.01325, allocations: 0 / 0.5327 GB, free: 5.699 MB / 0.4948 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002563/0.0135, allocations: 248.7 kB / 0.5329 GB, free: 5.438 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.022e-05/0.01353, allocations: 43.41 kB / 0.5329 GB, free: 5.391 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.01354, allocations: 4.656 kB / 0.5329 GB, free: 5.387 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.01355, allocations: 0 / 0.5329 GB, free: 5.387 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.0137, allocations: 34.16 kB / 0.533 GB, free: 5.355 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.0137, allocations: 0 / 0.533 GB, free: 5.355 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.778e-05/0.0138, allocations: 27.86 kB / 0.533 GB, free: 5.328 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/0.01382, allocations: 8 kB / 0.533 GB, free: 5.32 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 8.424e-05/0.0139, allocations: 168.9 kB / 0.5332 GB, free: 5.145 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.385e-05/0.01395, allocations: 48.53 kB / 0.5332 GB, free: 5.098 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002594/0.01421, allocations: 166.5 kB / 0.5334 GB, free: 4.938 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.01421, allocations: 0 / 0.5334 GB, free: 4.938 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.01422, allocations: 1.188 kB / 0.5334 GB, free: 4.938 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.01422, allocations: 0 / 0.5334 GB, free: 4.938 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002105/0.01443, allocations: 260.4 kB / 0.5336 GB, free: 4.648 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.01443, allocations: 0 / 0.5336 GB, free: 4.648 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/0.01455, allocations: 48.81 kB / 0.5337 GB, free: 4.602 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.01456, allocations: 0.7188 kB / 0.5337 GB, free: 4.602 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.01457, allocations: 0 / 0.5337 GB, free: 4.602 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.01457, allocations: 4.531 kB / 0.5337 GB, free: 4.598 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01457, allocations: 0 / 0.5337 GB, free: 4.598 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002392/0.01481, allocations: 293.6 kB / 0.534 GB, free: 4.293 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.765e-05/0.01488, allocations: 55.69 kB / 0.534 GB, free: 4.238 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.67e-05/0.01492, allocations: 0 / 0.534 GB, free: 4.238 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.01502, allocations: 11.98 kB / 0.534 GB, free: 4.227 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.761e-05/0.01508, allocations: 21.03 kB / 0.534 GB, free: 4.207 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.01509, allocations: 7.984 kB / 0.534 GB, free: 4.199 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000158/0.01525, allocations: 283.1 kB / 0.5343 GB, free: 3.922 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01525, allocations: 5.781 kB / 0.5343 GB, free: 3.918 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002681/0.01552, allocations: 119.8 kB / 0.5344 GB, free: 3.801 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.0002223/0.01574, allocations: 179 kB / 0.5346 GB, free: 3.617 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002817/0.01602, allocations: 221.8 kB / 0.5348 GB, free: 3.383 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01602, allocations: 0 / 0.5348 GB, free: 3.383 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.977e-05/0.0161, allocations: 51.59 kB / 0.5349 GB, free: 3.328 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003025/0.01641, allocations: 67.94 kB / 0.5349 GB, free: 3.266 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.01757, allocations: 0.5621 MB / 0.5355 GB, free: 2.68 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.847e-05/0.01763, allocations: 99.94 kB / 0.5356 GB, free: 2.562 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001407/0.01777, allocations: 55.25 kB / 0.5356 GB, free: 2.52 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.688e-05/0.01785, allocations: 24.48 kB / 0.5357 GB, free: 2.496 MB / 0.4948 GB Notification: Performance of SimCode: time 1.142e-06/0.01785, allocations: 0.7812 kB / 0.5357 GB, free: 2.496 MB / 0.4948 GB Notification: Performance of Templates: time 0.006488/0.02434, allocations: 5.261 MB / 0.5408 GB, free: 13.44 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.708266304107383]