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.001296/0.001296, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001209/0.001209, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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.9654/0.9654, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.83/0.83, allocations: 154.6 MB / 415.6 MB, free: 0.5234 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.282e-06/1.282e-06, allocations: 0 / 0.5215 GB, free: 1.785 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.558e-05/1.686e-05, allocations: 4.391 kB / 0.5215 GB, free: 1.781 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002258/0.002275, allocations: 1.557 MB / 0.5231 GB, free: 244 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005906/0.002865, allocations: 473.2 kB / 0.5235 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.292e-05/0.002918, allocations: 0 / 0.5235 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.953e-05/0.002948, allocations: 12.86 kB / 0.5235 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 5.302e-05/0.003001, allocations: 11.92 kB / 0.5235 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001977/0.003198, allocations: 29.03 kB / 0.5236 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.003299, allocations: 63.7 kB / 0.5236 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.688e-05/0.003376, allocations: 12.86 kB / 0.5236 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.003494, allocations: 39.84 kB / 0.5237 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.513e-05/0.003549, allocations: 28.42 kB / 0.5237 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.003563, allocations: 7.938 kB / 0.5237 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 3.778e-05/0.003601, allocations: 4.75 kB / 0.5237 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.285e-05/0.003614, allocations: 4 kB / 0.5237 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.141e-05/0.003636, allocations: 20.64 kB / 0.5237 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 9.18e-05/0.003727, allocations: 39.83 kB / 0.5238 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.003729, allocations: 0.5 kB / 0.5238 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.41e-07/0.00373, allocations: 0.8438 kB / 0.5238 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.003734, allocations: 0 / 0.5238 GB, free: 15.51 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003383/0.004073, allocations: 395.3 kB / 0.5241 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.004105, allocations: 8.031 kB / 0.5242 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001245/0.00423, allocations: 20.88 kB / 0.5242 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.004349, allocations: 128.6 kB / 0.5243 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-06/0.004358, allocations: 4.359 kB / 0.5243 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.57e-06/0.004364, allocations: 384 / 0.5243 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.335e-05/0.004447, allocations: 63.95 kB / 0.5244 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.33e-06/0.004452, allocations: 192 / 0.5244 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-06/0.004459, allocations: 384 / 0.5244 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.004464, allocations: 4.5 kB / 0.5244 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.965e-05/0.004484, allocations: 8.547 kB / 0.5244 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002118/0.004695, allocations: 257.2 kB / 0.5246 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.77e-05/0.004753, allocations: 31.05 kB / 0.5246 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.974e-05/0.004773, allocations: 21.17 kB / 0.5247 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.004e-05/0.004783, allocations: 0 / 0.5247 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.776e-05/0.004801, allocations: 37.45 kB / 0.5247 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 5.91e-07/0.004801, allocations: 4 kB / 0.5247 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001191/0.00492, allocations: 54.72 kB / 0.5248 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.382e-05/0.004944, allocations: 51.41 kB / 0.5248 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.728e-05/0.005011, allocations: 179.9 kB / 0.525 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.005022, allocations: 29.7 kB / 0.525 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.371e-05/0.005066, allocations: 134.9 kB / 0.5251 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.42e-05/0.00508, allocations: 7.953 kB / 0.5251 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.643e-05/0.005107, allocations: 19.36 kB / 0.5252 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.005212, allocations: 0.4922 MB / 0.5256 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.173e-05/0.005224, allocations: 4.859 kB / 0.5257 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.867e-06/0.005233, allocations: 4 kB / 0.5257 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.604e-05/0.005259, allocations: 16.5 kB / 0.5257 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.005261, allocations: 3.938 kB / 0.5257 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.494e-05/0.005315, allocations: 46.64 kB / 0.5257 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.005327, allocations: 11.94 kB / 0.5257 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.00533, allocations: 0 / 0.5257 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.432e-06/0.005336, allocations: 1.438 kB / 0.5257 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.134e-05/0.005388, allocations: 11.92 kB / 0.5257 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-06/0.00539, allocations: 0 / 0.5257 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.915e-05/0.005409, allocations: 5.25 kB / 0.5257 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.005414, allocations: 0 / 0.5257 GB, free: 13.3 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 5.788e-05/0.005472, allocations: 160.6 kB / 0.5259 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.573e-05/0.005488, allocations: 6.703 kB / 0.5259 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.119e-05/0.005509, allocations: 19.92 kB / 0.5259 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.00551, allocations: 0 / 0.5259 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.005512, allocations: 0 / 0.5259 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.005514, allocations: 0 / 0.5259 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.767e-05/0.005602, allocations: 105.2 kB / 0.526 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.005603, allocations: 0 / 0.526 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.305e-05/0.005626, allocations: 8 kB / 0.526 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.31e-07/0.005627, allocations: 2.406 kB / 0.526 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.869e-06/0.005631, allocations: 3.984 kB / 0.526 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.91e-07/0.005632, allocations: 0 / 0.526 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.005633, allocations: 3.938 kB / 0.526 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.523e-05/0.005729, allocations: 199.8 kB / 0.5262 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.981e-06/0.005735, allocations: 3.953 kB / 0.5262 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.925e-06/0.005743, allocations: 0.6875 kB / 0.5262 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.344e-05/0.005776, allocations: 4 kB / 0.5262 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.715e-05/0.005803, allocations: 8.891 kB / 0.5263 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.005806, allocations: 4 kB / 0.5263 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.303e-05/0.005849, allocations: 143.8 kB / 0.5264 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.005849, allocations: 0 / 0.5264 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001333/0.005983, allocations: 11.44 kB / 0.5264 GB, free: 12.58 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 6.338e-05/0.006046, allocations: 91.25 kB / 0.5265 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.866e-05/0.006115, allocations: 23.67 kB / 0.5265 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.22e-07/0.006115, allocations: 0 / 0.5265 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.82e-05/0.006134, allocations: 15.62 kB / 0.5265 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001483/0.006282, allocations: 17.3 kB / 0.5265 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004206/0.006703, allocations: 177.1 kB / 0.5267 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.444e-05/0.006737, allocations: 63.28 kB / 0.5268 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.119e-05/0.006758, allocations: 4.484 kB / 0.5268 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.105e-05/0.006799, allocations: 71.73 kB / 0.5268 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of SimCode: time 5.91e-07/0.0068, allocations: 0 / 0.5268 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of Templates: time 0.001788/0.008588, allocations: 0.514 MB / 0.5273 GB, free: 11.58 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.690675794146955]