Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007163/0.0007163, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001035/0.001751, allocations: 435.8 kB / 10.33 MB, free: 368 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.001363/0.001363, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001466/0.002829, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.054/1.054, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1279/1.182, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.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.8075/0.8075, allocations: 154.6 MB / 398.5 MB, free: 0.5 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2905/1.098, allocations: 49.04 MB / 447.6 MB, free: 6.664 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/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_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_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 448.9 MB, free: 5.379 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.312e-05/2.466e-05, allocations: 5.062 kB / 448.9 MB, free: 5.375 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002838/0.002863, allocations: 1.601 MB / 450.5 MB, free: 3.805 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006816/0.003544, allocations: 491.7 kB / 451 MB, free: 3.324 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.256e-05/0.003607, allocations: 0 / 451 MB, free: 3.324 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.972e-05/0.003636, allocations: 3.938 kB / 451 MB, free: 3.32 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.083e-05/0.003687, allocations: 22.14 kB / 451 MB, free: 3.305 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001419/0.003829, allocations: 30.41 kB / 451 MB, free: 3.277 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001211/0.00395, allocations: 59.83 kB / 451.1 MB, free: 3.234 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.55e-05/0.004036, allocations: 16.8 kB / 451.1 MB, free: 3.219 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001621/0.004198, allocations: 43.91 kB / 451.1 MB, free: 3.176 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.981e-05/0.004268, allocations: 19.92 kB / 451.2 MB, free: 3.156 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.004285, allocations: 4 kB / 451.2 MB, free: 3.152 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.432e-05/0.00436, allocations: 12.84 kB / 451.2 MB, free: 3.141 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.393e-05/0.004374, allocations: 7.938 kB / 451.2 MB, free: 3.133 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.888e-05/0.004392, allocations: 13.12 kB / 451.2 MB, free: 3.121 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001163/0.004509, allocations: 31.86 kB / 451.2 MB, free: 3.09 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.543e-05/0.004524, allocations: 0 / 451.2 MB, free: 3.09 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.004525, allocations: 0.8438 kB / 451.2 MB, free: 3.09 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.206e-05/0.004538, allocations: 0 / 451.2 MB, free: 3.09 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.0003855/0.004923, allocations: 276.3 kB / 451.5 MB, free: 2.801 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.004958, allocations: 15.97 kB / 451.5 MB, free: 2.785 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001697/0.005128, allocations: 98.02 kB / 451.6 MB, free: 2.672 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.005271, allocations: 130.2 kB / 451.7 MB, free: 2.52 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.005285, allocations: 384 / 451.7 MB, free: 2.52 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.154e-06/0.005292, allocations: 1 kB / 451.7 MB, free: 2.52 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.005404, allocations: 64.81 kB / 451.8 MB, free: 2.449 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-06/0.005409, allocations: 192 / 451.8 MB, free: 2.449 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.274e-06/0.005417, allocations: 384 / 451.8 MB, free: 2.449 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.005422, allocations: 3.938 kB / 451.8 MB, free: 2.445 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.213e-05/0.005444, allocations: 5.703 kB / 451.8 MB, free: 2.441 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002096/0.005653, allocations: 161 kB / 452 MB, free: 2.27 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.578e-05/0.005709, allocations: 27.08 kB / 452 MB, free: 2.234 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.557e-05/0.005725, allocations: 13.77 kB / 452 MB, free: 2.219 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.263e-05/0.005737, allocations: 0 / 452 MB, free: 2.219 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.00576, allocations: 38.62 kB / 452 MB, free: 2.172 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.153e-06/0.005761, allocations: 0.625 kB / 452 MB, free: 2.172 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.000118/0.005879, allocations: 51.2 kB / 452.1 MB, free: 2.117 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/0.005908, allocations: 54.34 kB / 452.1 MB, free: 2.055 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.347e-05/0.005972, allocations: 123.7 kB / 452.3 MB, free: 1.922 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.558e-06/0.005981, allocations: 25.7 kB / 452.3 MB, free: 1.891 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.137e-05/0.006013, allocations: 88.12 kB / 452.4 MB, free: 1.801 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.078e-05/0.006034, allocations: 11.91 kB / 452.4 MB, free: 1.789 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.711e-05/0.006061, allocations: 17.7 kB / 452.4 MB, free: 1.766 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.751e-05/0.006138, allocations: 314.8 kB / 452.7 MB, free: 1.449 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.361e-05/0.006152, allocations: 4.812 kB / 452.7 MB, free: 1.445 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.048e-05/0.006162, allocations: 3.984 kB / 452.7 MB, free: 1.441 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.718e-05/0.006189, allocations: 12.86 kB / 452.7 MB, free: 1.426 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.006193, allocations: 8.719 kB / 452.7 MB, free: 1.418 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.858e-05/0.006251, allocations: 37.69 kB / 452.8 MB, free: 1.375 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.006264, allocations: 9.781 kB / 452.8 MB, free: 1.367 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.006269, allocations: 3.938 kB / 452.8 MB, free: 1.363 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.757e-06/0.006278, allocations: 3.984 kB / 452.8 MB, free: 1.359 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.903e-05/0.006357, allocations: 8 kB / 452.8 MB, free: 1.352 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-06/0.00636, allocations: 0.625 kB / 452.8 MB, free: 1.352 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.13e-05/0.006381, allocations: 3.984 kB / 452.8 MB, free: 1.348 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.006387, allocations: 4.625 kB / 452.8 MB, free: 1.344 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 6.93e-05/0.006456, allocations: 114.4 kB / 452.9 MB, free: 1.223 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.503e-05/0.006471, allocations: 5.656 kB / 452.9 MB, free: 1.219 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.223e-05/0.006494, allocations: 11.94 kB / 452.9 MB, free: 1.207 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.006496, allocations: 4.609 kB / 452.9 MB, free: 1.203 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.006498, allocations: 0 / 452.9 MB, free: 1.203 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.006502, allocations: 4.719 kB / 453 MB, free: 1.199 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.582e-05/0.006588, allocations: 69.89 kB / 453 MB, free: 1.113 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.00659, allocations: 4.516 kB / 453 MB, free: 1.109 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.249e-05/0.006622, allocations: 9 kB / 453 MB, free: 1.102 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.039e-05/0.006633, allocations: 7.953 kB / 453 MB, free: 1.094 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.006634, allocations: 0 / 453 MB, free: 1.094 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.006639, allocations: 4.859 kB / 453 MB, free: 1.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.006642, allocations: 7.875 kB / 453.1 MB, free: 1.082 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.006644, allocations: 1.516 kB / 453.1 MB, free: 1.082 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.286e-05/0.006727, allocations: 135.5 kB / 453.2 MB, free: 0.9336 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.367e-06/0.006736, allocations: 5 kB / 453.2 MB, free: 0.9297 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.249e-05/0.006768, allocations: 0.7969 kB / 453.2 MB, free: 0.9297 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.943e-05/0.006798, allocations: 15.92 kB / 453.2 MB, free: 0.9141 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.006801, allocations: 0.625 kB / 453.2 MB, free: 0.9141 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.953e-05/0.00682, allocations: 18.47 kB / 453.2 MB, free: 0.8945 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006821, allocations: 1.312 kB / 453.2 MB, free: 0.8945 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001133/0.006934, allocations: 8 kB / 453.2 MB, free: 0.8867 MB / 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 8.289e-05/0.007017, allocations: 85.73 kB / 453.3 MB, free: 0.7969 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.274e-05/0.007099, allocations: 16.84 kB / 453.3 MB, free: 0.7773 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.007106, allocations: 0 / 453.3 MB, free: 0.7773 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.772e-05/0.007123, allocations: 16.78 kB / 453.4 MB, free: 0.7617 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001174/0.007241, allocations: 14.61 kB / 453.4 MB, free: 0.75 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.008401, allocations: 174.6 kB / 453.5 MB, free: 0.5586 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.61e-05/0.008437, allocations: 60.78 kB / 453.6 MB, free: 492 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.777e-05/0.008464, allocations: 3.859 kB / 453.6 MB, free: 488 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.162e-05/0.008506, allocations: 56.14 kB / 453.7 MB, free: 432 kB / 426.7 MB Notification: Performance of SimCode: time 1.052e-06/0.008507, allocations: 0 / 453.7 MB, free: 432 kB / 426.7 MB Notification: Performance of Templates: time 0.00208/0.01059, allocations: 461.8 kB / 454.1 MB, free: 0 / 426.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo IDEAS_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/IDEAS_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./IDEAS_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6356008909642696]