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.001064/0.001064, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001211/0.001211, allocations: 181 kB / 23.36 MB, free: 1.133 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.98/0.98, allocations: 177.1 MB / 203.8 MB, free: 5.465 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.8149/0.8149, allocations: 154.6 MB / 414.8 MB, free: 472 kB / 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.282e-06/1.282e-06, allocations: 0 / 480 MB, free: 6.855 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.462e-05/1.59e-05, allocations: 5.578 kB / 480 MB, free: 6.852 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003322/0.003338, allocations: 2.119 MB / 482.2 MB, free: 4.766 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.00548/0.008818, allocations: 4.191 MB / 486.4 MB, free: 0.5938 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.00893, allocations: 9.031 kB / 486.4 MB, free: 0.5859 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007728/0.009703, allocations: 192.8 kB / 486.5 MB, free: 408 kB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000143/0.009846, allocations: 69.83 kB / 486.6 MB, free: 340 kB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006093/0.01046, allocations: 277.8 kB / 486.9 MB, free: 64 kB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005754/0.01103, allocations: 408.9 kB / 487.3 MB, free: 15.66 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.01114, allocations: 34.53 kB / 487.3 MB, free: 15.63 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001985/0.01133, allocations: 153.1 kB / 487.5 MB, free: 15.48 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001702/0.0115, allocations: 115.6 kB / 487.6 MB, free: 15.37 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 3.121e-05/0.01154, allocations: 17.06 kB / 487.6 MB, free: 15.35 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005206/0.01206, allocations: 339.4 kB / 487.9 MB, free: 15.02 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.01216, allocations: 104.4 kB / 488 MB, free: 14.92 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 9.929e-05/0.01226, allocations: 91.75 kB / 488.1 MB, free: 14.83 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005677/0.01283, allocations: 0.4955 MB / 488.6 MB, free: 14.33 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.01283, allocations: 0 / 488.6 MB, free: 14.33 MB / 458.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.01283, allocations: 0 / 488.6 MB, free: 14.33 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.01284, allocations: 1.906 kB / 488.6 MB, free: 14.33 MB / 458.7 MB 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.0008432/0.01368, allocations: 0.6332 MB / 489.3 MB, free: 13.67 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.01371, allocations: 8.031 kB / 489.3 MB, free: 13.66 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003345/0.01404, allocations: 70.86 kB / 489.3 MB, free: 13.59 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002978/0.01434, allocations: 236 kB / 489.6 MB, free: 13.34 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.01436, allocations: 9 kB / 489.6 MB, free: 13.33 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.063e-05/0.01438, allocations: 12.38 kB / 489.6 MB, free: 13.32 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002691/0.01465, allocations: 131.8 kB / 489.7 MB, free: 13.18 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.01465, allocations: 192 / 489.7 MB, free: 13.18 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.01467, allocations: 9 kB / 489.7 MB, free: 13.18 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.01468, allocations: 4 kB / 489.7 MB, free: 13.17 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.672e-05/0.01477, allocations: 32.12 kB / 489.8 MB, free: 13.14 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005691/0.01534, allocations: 294.2 kB / 490 MB, free: 12.84 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.01545, allocations: 82.69 kB / 490.1 MB, free: 12.75 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003065/0.01576, allocations: 24.84 kB / 490.1 MB, free: 12.72 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.576e-05/0.0158, allocations: 20.77 kB / 490.2 MB, free: 12.7 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.01582, allocations: 30.56 kB / 490.2 MB, free: 12.66 MB / 458.7 MB Notification: Performance of pre-optimization done (n=11): time 1.373e-06/0.01583, allocations: 0.625 kB / 490.2 MB, free: 12.66 MB / 458.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002791/0.0161, allocations: 110.3 kB / 490.3 MB, free: 12.55 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.663e-05/0.01613, allocations: 55.34 kB / 490.4 MB, free: 12.49 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002976/0.01643, allocations: 351.4 kB / 490.7 MB, free: 12.14 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.01645, allocations: 26.48 kB / 490.7 MB, free: 12.11 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.179e-05/0.01652, allocations: 133 kB / 490.9 MB, free: 11.97 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.822e-05/0.01656, allocations: 48.41 kB / 490.9 MB, free: 11.93 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.213e-05/0.01663, allocations: 37.67 kB / 490.9 MB, free: 11.88 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.01674, allocations: 352.5 kB / 491.3 MB, free: 11.53 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.197e-05/0.01681, allocations: 64.52 kB / 491.4 MB, free: 11.46 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.93e-05/0.01686, allocations: 57.62 kB / 491.4 MB, free: 11.4 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/0.01697, allocations: 107.2 kB / 491.5 MB, free: 11.29 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.01697, allocations: 1 kB / 491.5 MB, free: 11.29 MB / 458.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000154/0.01712, allocations: 177.7 kB / 491.7 MB, free: 11.09 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.97e-05/0.01715, allocations: 50.16 kB / 491.7 MB, free: 11.04 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.01716, allocations: 2.281 kB / 491.7 MB, free: 11.04 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.01717, allocations: 0 / 491.7 MB, free: 11.04 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.01731, allocations: 35.95 kB / 491.8 MB, free: 11 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.01731, allocations: 3.984 kB / 491.8 MB, free: 11 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.166e-05/0.01739, allocations: 31.88 kB / 491.8 MB, free: 10.97 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.0174, allocations: 0.625 kB / 491.8 MB, free: 10.97 MB / 458.7 MB 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.25e-05/0.01748, allocations: 122.8 kB / 491.9 MB, free: 10.84 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.359e-05/0.01751, allocations: 27.91 kB / 492 MB, free: 10.81 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001587/0.01767, allocations: 119.7 kB / 492.1 MB, free: 10.69 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.01767, allocations: 4 kB / 492.1 MB, free: 10.68 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.01767, allocations: 1.062 kB / 492.1 MB, free: 10.68 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.01768, allocations: 0 / 492.1 MB, free: 10.68 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/0.01782, allocations: 154.9 kB / 492.2 MB, free: 10.52 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.01783, allocations: 3.984 kB / 492.2 MB, free: 10.51 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/0.01793, allocations: 39.89 kB / 492.3 MB, free: 10.47 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.01793, allocations: 0.75 kB / 492.3 MB, free: 10.47 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.926e-06/0.01794, allocations: 0 / 492.3 MB, free: 10.47 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.01794, allocations: 4.656 kB / 492.3 MB, free: 10.47 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01794, allocations: 0 / 492.3 MB, free: 10.47 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001427/0.01808, allocations: 239.9 kB / 492.5 MB, free: 10.22 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.627e-05/0.01814, allocations: 47.64 kB / 492.6 MB, free: 10.17 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.01816, allocations: 3.984 kB / 492.6 MB, free: 10.17 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.187e-05/0.01825, allocations: 21.05 kB / 492.6 MB, free: 10.15 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.581e-05/0.01831, allocations: 19.97 kB / 492.6 MB, free: 10.13 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.01832, allocations: 4 kB / 492.6 MB, free: 10.12 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001539/0.01848, allocations: 145.6 kB / 492.7 MB, free: 9.98 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01848, allocations: 0 / 492.7 MB, free: 9.98 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003907/0.01887, allocations: 116.8 kB / 492.9 MB, free: 9.867 MB / 458.7 MB 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.0002833/0.01915, allocations: 171.3 kB / 493 MB, free: 9.695 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002314/0.01938, allocations: 189.8 kB / 493.2 MB, free: 9.488 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.01939, allocations: 4.781 kB / 493.2 MB, free: 9.484 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 8.325e-05/0.01947, allocations: 32.78 kB / 493.3 MB, free: 9.449 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003774/0.01985, allocations: 76.33 kB / 493.3 MB, free: 9.383 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.02092, allocations: 0.5618 MB / 493.9 MB, free: 8.797 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.489e-05/0.02101, allocations: 103.9 kB / 494 MB, free: 8.676 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001549/0.02116, allocations: 36.12 kB / 494 MB, free: 8.652 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001919/0.02136, allocations: 111.3 kB / 494.1 MB, free: 8.543 MB / 458.7 MB Notification: Performance of SimCode: time 7.32e-07/0.02136, allocations: 0.9062 kB / 494.1 MB, free: 8.543 MB / 458.7 MB Notification: Performance of Templates: time 0.009637/0.03099, allocations: 5.306 MB / 499.4 MB, free: 3.629 MB / 458.7 MB " [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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7126137469895184]