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.001397/0.001397, allocations: 92.7 kB / 19.44 MB, free: 328 kB / 13.93 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.001756/0.001756, allocations: 161.3 kB / 22.76 MB, free: 1.656 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.526/1.526, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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 1.213/1.213, allocations: 154.6 MB / 414.2 MB, free: 0.6367 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 178] 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.593e-06/1.593e-06, allocations: 0 / 0.5196 GB, free: 2.543 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.316e-05/3.476e-05, allocations: 3.859 kB / 0.5196 GB, free: 2.539 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.003103/0.003138, allocations: 1.515 MB / 0.5211 GB, free: 1.039 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009788/0.004117, allocations: 468.5 kB / 0.5216 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.734e-05/0.004194, allocations: 8.625 kB / 0.5216 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.089e-05/0.004235, allocations: 9.047 kB / 0.5216 GB, free: 0.5625 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.074e-05/0.004306, allocations: 3.938 kB / 0.5216 GB, free: 0.5586 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002717/0.004578, allocations: 41.22 kB / 0.5216 GB, free: 0.5195 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001365/0.004714, allocations: 55.67 kB / 0.5217 GB, free: 476 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.004814, allocations: 15.97 kB / 0.5217 GB, free: 460 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001759/0.00499, allocations: 36.69 kB / 0.5217 GB, free: 424 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.577e-05/0.005066, allocations: 23.91 kB / 0.5217 GB, free: 400 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.005086, allocations: 5.406 kB / 0.5217 GB, free: 396 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.343e-05/0.00513, allocations: 4 kB / 0.5217 GB, free: 392 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.187e-05/0.005152, allocations: 8 kB / 0.5218 GB, free: 384 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.535e-05/0.005187, allocations: 15.92 kB / 0.5218 GB, free: 368 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.005331, allocations: 62.23 kB / 0.5218 GB, free: 308 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.005334, allocations: 0 / 0.5218 GB, free: 308 kB / 490.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.005335, allocations: 0 / 0.5218 GB, free: 308 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.005339, allocations: 0 / 0.5218 GB, free: 308 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.0005803/0.005919, allocations: 286.2 kB / 0.5221 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.005958, allocations: 8.031 kB / 0.5221 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002345/0.006193, allocations: 26.78 kB / 0.5221 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002392/0.006432, allocations: 129.7 kB / 0.5223 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.006445, allocations: 4.375 kB / 0.5223 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.898e-06/0.006455, allocations: 1.344 kB / 0.5223 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.006638, allocations: 62.17 kB / 0.5223 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.006646, allocations: 1.156 kB / 0.5223 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.006657, allocations: 384 / 0.5223 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.006664, allocations: 3.938 kB / 0.5223 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001471/0.006811, allocations: 36.91 kB / 0.5224 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003735/0.007185, allocations: 213.5 kB / 0.5226 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001422/0.007327, allocations: 47.22 kB / 0.5226 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.898e-05/0.007406, allocations: 21.5 kB / 0.5226 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.007428, allocations: 5.219 kB / 0.5226 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/0.007465, allocations: 38.5 kB / 0.5227 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 2.976e-06/0.007468, allocations: 3.984 kB / 0.5227 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0003693/0.007837, allocations: 88.08 kB / 0.5228 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/0.007887, allocations: 51.41 kB / 0.5228 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.008015, allocations: 121.8 kB / 0.5229 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.008035, allocations: 29.7 kB / 0.523 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.039e-05/0.008105, allocations: 96.02 kB / 0.523 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.436e-05/0.00813, allocations: 13.55 kB / 0.5231 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.182e-05/0.008172, allocations: 13.72 kB / 0.5231 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001779/0.00835, allocations: 318.8 kB / 0.5234 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.232e-05/0.008422, allocations: 19.92 kB / 0.5234 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.687e-05/0.008489, allocations: 21.61 kB / 0.5234 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.008625, allocations: 40.83 kB / 0.5235 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.008627, allocations: 2.344 kB / 0.5235 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001954/0.008822, allocations: 77.56 kB / 0.5235 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.008836, allocations: 4 kB / 0.5235 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.008842, allocations: 4 kB / 0.5235 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.008862, allocations: 0 / 0.5235 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.008964, allocations: 18.67 kB / 0.5236 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.008968, allocations: 0 / 0.5236 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.556e-05/0.009024, allocations: 4 kB / 0.5236 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.009034, allocations: 3.984 kB / 0.5236 GB, free: 14.37 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 9.94e-05/0.009133, allocations: 113.8 kB / 0.5237 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.225e-05/0.009166, allocations: 11.89 kB / 0.5237 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.686e-05/0.009192, allocations: 9.312 kB / 0.5237 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-06/0.009194, allocations: 0 / 0.5237 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.009198, allocations: 0 / 0.5237 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.009201, allocations: 0 / 0.5237 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001667/0.009368, allocations: 118.2 kB / 0.5238 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.009369, allocations: 0 / 0.5238 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.965e-05/0.009438, allocations: 9.938 kB / 0.5238 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.00944, allocations: 0 / 0.5238 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.009453, allocations: 7.922 kB / 0.5238 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.009454, allocations: 0 / 0.5238 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.009455, allocations: 0 / 0.5238 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002684/0.009723, allocations: 172.1 kB / 0.524 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.133e-05/0.009735, allocations: 4.656 kB / 0.524 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.009755, allocations: 8.578 kB / 0.524 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.615e-05/0.009841, allocations: 4 kB / 0.524 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.394e-05/0.009885, allocations: 5.016 kB / 0.524 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/0.009889, allocations: 0 / 0.524 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.555e-05/0.009964, allocations: 102.6 kB / 0.5241 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.009964, allocations: 2.531 kB / 0.5241 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000222/0.01019, allocations: 8 kB / 0.5241 GB, free: 13.76 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 0.0001324/0.01032, allocations: 95.25 kB / 0.5242 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002004/0.01052, allocations: 39.47 kB / 0.5242 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.01052, allocations: 3.938 kB / 0.5242 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.969e-05/0.0106, allocations: 27.92 kB / 0.5243 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002263/0.01083, allocations: 2.062 kB / 0.5243 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004225/0.01125, allocations: 162.7 kB / 0.5244 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.792e-05/0.01133, allocations: 72.83 kB / 0.5245 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.677e-05/0.01136, allocations: 3.984 kB / 0.5245 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.974e-05/0.0114, allocations: 17.34 kB / 0.5245 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of SimCode: time 3.71e-07/0.0114, allocations: 0 / 0.5245 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of Templates: time 0.00299/0.01439, allocations: 474.5 kB / 0.525 GB, free: 12.85 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=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.03908847598359]