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.001435/0.001435, allocations: 92.2 kB / 20.19 MB, free: 4.352 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.001711/0.001711, allocations: 173 kB / 23.49 MB, free: 1.051 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 1.017/1.017, allocations: 177.1 MB / 203.8 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.8703/0.8703, allocations: 154.6 MB / 414.9 MB, free: 0.6445 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.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.372e-06/1.372e-06, allocations: 0 / 0.5203 GB, free: 2.531 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.942e-05/2.079e-05, allocations: 3.188 kB / 0.5203 GB, free: 2.527 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002084/0.002105, allocations: 1.557 MB / 0.5219 GB, free: 0.9844 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006758/0.00278, allocations: 477.3 kB / 0.5223 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.286e-05/0.002853, allocations: 0 / 0.5223 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.268e-05/0.002886, allocations: 9.141 kB / 0.5223 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.894e-05/0.002945, allocations: 15.86 kB / 0.5223 GB, free: 0.4961 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002567/0.003202, allocations: 32.58 kB / 0.5224 GB, free: 476 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.00333, allocations: 55.73 kB / 0.5224 GB, free: 420 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.003436, allocations: 21.23 kB / 0.5224 GB, free: 400 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001455/0.003582, allocations: 39.84 kB / 0.5225 GB, free: 360 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.803e-05/0.00366, allocations: 19.92 kB / 0.5225 GB, free: 340 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.00368, allocations: 5.375 kB / 0.5225 GB, free: 336 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.209e-05/0.003732, allocations: 4 kB / 0.5225 GB, free: 332 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.936e-05/0.003752, allocations: 7.984 kB / 0.5225 GB, free: 324 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.127e-05/0.003783, allocations: 20.7 kB / 0.5225 GB, free: 304 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001416/0.003924, allocations: 39.83 kB / 0.5226 GB, free: 264 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.003927, allocations: 0.8438 kB / 0.5226 GB, free: 264 kB / 490.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.003927, allocations: 3.938 kB / 0.5226 GB, free: 260 kB / 490.7 MB Notification: Performance of Transformations before backend: time 8.877e-06/0.003936, allocations: 0 / 0.5226 GB, free: 260 kB / 490.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.0004387/0.004375, allocations: 399.2 kB / 0.523 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.00442, allocations: 8.031 kB / 0.523 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001508/0.004571, allocations: 20.88 kB / 0.523 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.004742, allocations: 128.6 kB / 0.5231 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.004754, allocations: 384 / 0.5231 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.558e-06/0.004764, allocations: 0.875 kB / 0.5231 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.004891, allocations: 67.42 kB / 0.5232 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.004898, allocations: 1.281 kB / 0.5232 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.004909, allocations: 384 / 0.5232 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.004919, allocations: 3.938 kB / 0.5232 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.561e-05/0.004954, allocations: 12.75 kB / 0.5232 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003415/0.005296, allocations: 271.7 kB / 0.5234 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.569e-05/0.005371, allocations: 35.72 kB / 0.5235 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.599e-05/0.005397, allocations: 12.19 kB / 0.5235 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.005411, allocations: 1.031 kB / 0.5235 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.005436, allocations: 49.34 kB / 0.5235 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.005438, allocations: 0 / 0.5235 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001661/0.005604, allocations: 50.61 kB / 0.5236 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.005636, allocations: 51.41 kB / 0.5236 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.881e-05/0.005735, allocations: 184.3 kB / 0.5238 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.005748, allocations: 25.7 kB / 0.5238 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.997e-05/0.005798, allocations: 140.2 kB / 0.524 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.843e-05/0.005817, allocations: 3.953 kB / 0.524 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.742e-05/0.005844, allocations: 23.36 kB / 0.524 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.005966, allocations: 496.1 kB / 0.5245 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.603e-05/0.005982, allocations: 4.594 kB / 0.5245 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.468e-05/0.005997, allocations: 9.453 kB / 0.5245 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.846e-05/0.006035, allocations: 19.62 kB / 0.5245 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.006037, allocations: 0 / 0.5245 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.603e-05/0.006103, allocations: 53.58 kB / 0.5246 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.006117, allocations: 8.656 kB / 0.5246 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.006121, allocations: 0 / 0.5246 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.006134, allocations: 1.344 kB / 0.5246 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.626e-05/0.006201, allocations: 11.92 kB / 0.5246 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.006206, allocations: 0 / 0.5246 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.161e-05/0.006228, allocations: 4.75 kB / 0.5246 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.603e-06/0.006234, allocations: 0 / 0.5246 GB, free: 14.01 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 (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.681e-05/0.006301, allocations: 157.7 kB / 0.5247 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.601e-05/0.006317, allocations: 11.83 kB / 0.5247 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.568e-05/0.006343, allocations: 15.98 kB / 0.5248 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.006344, allocations: 0.9375 kB / 0.5248 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.006348, allocations: 0 / 0.5248 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.006351, allocations: 0.8125 kB / 0.5248 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001004/0.006451, allocations: 124.6 kB / 0.5249 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.006453, allocations: 6.75 kB / 0.5249 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.373e-05/0.006477, allocations: 7.984 kB / 0.5249 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.006479, allocations: 336 / 0.5249 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.006488, allocations: 3.938 kB / 0.5249 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.006489, allocations: 0 / 0.5249 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.00649, allocations: 0 / 0.5249 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001076/0.006597, allocations: 199.9 kB / 0.5251 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.797e-06/0.006606, allocations: 7.953 kB / 0.5251 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.006618, allocations: 6.781 kB / 0.5251 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.716e-05/0.006656, allocations: 3.984 kB / 0.5251 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.268e-05/0.006698, allocations: 11.94 kB / 0.5251 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-06/0.006701, allocations: 0 / 0.5251 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.607e-05/0.006747, allocations: 138.3 kB / 0.5252 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.006747, allocations: 0 / 0.5252 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001416/0.006889, allocations: 8 kB / 0.5253 GB, free: 13.26 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 (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 7.174e-05/0.006961, allocations: 104.6 kB / 0.5254 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.758e-05/0.007048, allocations: 15.69 kB / 0.5254 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.007049, allocations: 1.656 kB / 0.5254 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.109e-05/0.007071, allocations: 15.67 kB / 0.5254 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001658/0.007236, allocations: 15.88 kB / 0.5254 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005522/0.007789, allocations: 171.7 kB / 0.5256 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.794e-05/0.007826, allocations: 60 kB / 0.5256 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.333e-05/0.00785, allocations: 0.5625 kB / 0.5256 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.979e-05/0.00788, allocations: 19.83 kB / 0.5256 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of SimCode: time 1.042e-06/0.007881, allocations: 0 / 0.5256 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of Templates: time 0.002053/0.009933, allocations: 481.1 kB / 0.5261 GB, free: 12.36 MB / 0.4948 GB " [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.885252652922645]