Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.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.0009661/0.0009661, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001415/0.002381, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001052/0.001052, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001376/0.002427, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 1.025/1.025, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08752/1.113, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.8055/0.8055, allocations: 155.3 MB / 399.5 MB, free: 15.79 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/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 NFInstanceAPI.mkTop(): time 0.2728/1.078, allocations: 49.13 MB / 448.6 MB, free: 5.898 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") translateModel(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 450 MB, free: 4.594 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.753e-05/1.928e-05, allocations: 2.312 kB / 450 MB, free: 4.59 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002755/0.002774, allocations: 1.618 MB / 451.6 MB, free: 2.992 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008282/0.003602, allocations: 494.2 kB / 452.1 MB, free: 2.516 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.227e-05/0.003684, allocations: 0 / 452.1 MB, free: 2.516 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 3.177e-05/0.003716, allocations: 7.922 kB / 452.1 MB, free: 2.508 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.931e-05/0.003765, allocations: 9.734 kB / 452.1 MB, free: 2.504 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001668/0.003932, allocations: 38.72 kB / 452.1 MB, free: 2.469 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001549/0.004087, allocations: 55.73 kB / 452.2 MB, free: 2.43 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.004195, allocations: 8.922 kB / 452.2 MB, free: 2.422 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001836/0.004379, allocations: 50.5 kB / 452.2 MB, free: 2.379 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.775e-05/0.004467, allocations: 25.11 kB / 452.2 MB, free: 2.355 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.004484, allocations: 0 / 452.2 MB, free: 2.355 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.8e-05/0.004552, allocations: 9.969 kB / 452.3 MB, free: 2.348 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.335e-05/0.004575, allocations: 7.938 kB / 452.3 MB, free: 2.34 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.34e-05/0.004599, allocations: 8 kB / 452.3 MB, free: 2.332 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001292/0.004728, allocations: 35.86 kB / 452.3 MB, free: 2.297 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.103e-05/0.004739, allocations: 0 / 452.3 MB, free: 2.297 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.00474, allocations: 0 / 452.3 MB, free: 2.297 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.659e-06/0.004749, allocations: 1.406 kB / 452.3 MB, free: 2.297 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004431/0.005192, allocations: 282.4 kB / 452.6 MB, free: 2 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.005235, allocations: 8.031 kB / 452.6 MB, free: 1.992 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002363/0.005471, allocations: 99.25 kB / 452.7 MB, free: 1.879 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/0.005653, allocations: 133.6 kB / 452.8 MB, free: 1.727 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.005665, allocations: 4.375 kB / 452.8 MB, free: 1.723 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.281e-05/0.005678, allocations: 384 / 452.8 MB, free: 1.723 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.0058, allocations: 58.94 kB / 452.9 MB, free: 1.656 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.005808, allocations: 2.281 kB / 452.9 MB, free: 1.656 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.198e-06/0.005817, allocations: 384 / 452.9 MB, free: 1.656 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.005825, allocations: 7.938 kB / 452.9 MB, free: 1.648 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.462e-05/0.00585, allocations: 7.938 kB / 452.9 MB, free: 1.641 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002482/0.006098, allocations: 156.2 kB / 453.1 MB, free: 1.473 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.859e-05/0.006167, allocations: 31.41 kB / 453.1 MB, free: 1.434 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.925e-05/0.006186, allocations: 8.859 kB / 453.1 MB, free: 1.422 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.353e-05/0.0062, allocations: 1 kB / 453.1 MB, free: 1.422 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.006223, allocations: 30.56 kB / 453.1 MB, free: 1.383 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.006224, allocations: 4.875 kB / 453.1 MB, free: 1.379 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001393/0.006363, allocations: 45.66 kB / 453.2 MB, free: 1.328 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/0.006395, allocations: 59.47 kB / 453.2 MB, free: 1.258 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.902e-05/0.006484, allocations: 126.8 kB / 453.4 MB, free: 1.125 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.006498, allocations: 30.2 kB / 453.4 MB, free: 1.09 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.613e-05/0.006535, allocations: 81.42 kB / 453.5 MB, free: 1.008 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.697e-05/0.006562, allocations: 15.92 kB / 453.5 MB, free: 0.9922 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.24e-05/0.006594, allocations: 13.72 kB / 453.5 MB, free: 0.9727 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.579e-05/0.00669, allocations: 318.8 kB / 453.8 MB, free: 0.6523 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.538e-05/0.006705, allocations: 4.688 kB / 453.8 MB, free: 0.6484 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.23e-05/0.006717, allocations: 0.8438 kB / 453.8 MB, free: 0.6484 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.829e-05/0.006756, allocations: 22.14 kB / 453.8 MB, free: 0.625 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.006758, allocations: 0 / 453.8 MB, free: 0.625 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.521e-05/0.006833, allocations: 43.36 kB / 453.9 MB, free: 0.5781 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.006847, allocations: 4.5 kB / 453.9 MB, free: 0.5742 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.006854, allocations: 9.312 kB / 453.9 MB, free: 0.5664 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.006865, allocations: 0 / 453.9 MB, free: 0.5664 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.394e-05/0.006949, allocations: 7.984 kB / 453.9 MB, free: 0.5586 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.006953, allocations: 0 / 453.9 MB, free: 0.5586 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.937e-05/0.006982, allocations: 9.016 kB / 453.9 MB, free: 0.5508 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.006988, allocations: 0 / 453.9 MB, free: 0.5508 MB / 426.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 (3): * Single equations (assignments): 3 * 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 prepare postOptimizeDAE: time 7.945e-05/0.007068, allocations: 114.5 kB / 454 MB, free: 440 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.358e-05/0.007092, allocations: 0 / 454 MB, free: 440 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.882e-05/0.00713, allocations: 20.83 kB / 454 MB, free: 412 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.007132, allocations: 0 / 454 MB, free: 412 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.007134, allocations: 0 / 454 MB, free: 412 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.007139, allocations: 0.5938 kB / 454 MB, free: 412 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001401/0.007279, allocations: 75.31 kB / 454.1 MB, free: 320 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.007282, allocations: 4 kB / 454.1 MB, free: 316 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.156e-05/0.007333, allocations: 11.98 kB / 454.1 MB, free: 304 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.098e-05/0.007344, allocations: 7.938 kB / 454.1 MB, free: 296 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.007347, allocations: 0.7812 kB / 454.1 MB, free: 296 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.007357, allocations: 4 kB / 454.1 MB, free: 292 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.00736, allocations: 5.375 kB / 454.1 MB, free: 288 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.007364, allocations: 3.938 kB / 454.1 MB, free: 284 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001364/0.007501, allocations: 132.4 kB / 454.3 MB, free: 136 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.007515, allocations: 0 / 454.3 MB, free: 136 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.039e-05/0.007585, allocations: 8.828 kB / 454.3 MB, free: 128 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.432e-05/0.007629, allocations: 3.938 kB / 454.3 MB, free: 124 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.007634, allocations: 0.6562 kB / 454.3 MB, free: 124 kB / 426.7 MB Notification: Performance of sorting global known variables: time 3.475e-05/0.007669, allocations: 32.83 kB / 454.3 MB, free: 88 kB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007669, allocations: 0.8438 kB / 454.3 MB, free: 88 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002061/0.007875, allocations: 11.95 kB / 454.3 MB, free: 76 kB / 426.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 (3): * Single equations (assignments): 3 * 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.000115/0.00799, allocations: 81.69 kB / 454.4 MB, free: 15.99 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 9.692e-05/0.008087, allocations: 18.06 kB / 454.4 MB, free: 15.97 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.395e-06/0.008095, allocations: 0.9062 kB / 454.4 MB, free: 15.97 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.875e-05/0.008134, allocations: 16.84 kB / 454.4 MB, free: 15.95 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002018/0.008336, allocations: 17.12 kB / 454.5 MB, free: 15.93 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001776/0.01011, allocations: 174.2 kB / 454.6 MB, free: 15.74 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.672e-05/0.01016, allocations: 59.75 kB / 454.7 MB, free: 15.66 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 4.264e-05/0.0102, allocations: 17.62 kB / 454.7 MB, free: 15.65 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.609e-05/0.01027, allocations: 52 kB / 454.8 MB, free: 15.6 MB / 442.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01027, allocations: 0 / 454.8 MB, free: 15.6 MB / 442.7 MB Notification: Performance of Templates: time 0.002651/0.01292, allocations: 0.4943 MB / 455.3 MB, free: 15.14 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.470073973760009]