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.0007812/0.0007812, allocations: 92.22 kB / 19.65 MB, free: 276 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.0009128/0.0009128, allocations: 173 kB / 23.03 MB, free: 1.543 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 0.9277/0.9277, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.7904/0.7904, allocations: 154.6 MB / 414.5 MB, free: 0.6523 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.713e-06/1.713e-06, allocations: 0 / 0.5203 GB, free: 2.09 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.336e-05/1.507e-05, allocations: 3.828 kB / 0.5203 GB, free: 2.086 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.001754/0.001769, allocations: 1.553 MB / 0.5218 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.000615/0.002384, allocations: 485.3 kB / 0.5223 GB, free: 72 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.45e-05/0.002439, allocations: 0 / 0.5223 GB, free: 72 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.255e-05/0.002471, allocations: 4.719 kB / 0.5223 GB, free: 68 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.323e-05/0.002524, allocations: 13.38 kB / 0.5223 GB, free: 56 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002249/0.002749, allocations: 35.88 kB / 0.5224 GB, free: 20 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.002871, allocations: 55.86 kB / 0.5224 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.655e-05/0.002967, allocations: 22.31 kB / 0.5224 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001239/0.003091, allocations: 39.89 kB / 0.5225 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.615e-05/0.003147, allocations: 19.92 kB / 0.5225 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.003163, allocations: 4 kB / 0.5225 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.054e-05/0.003204, allocations: 4 kB / 0.5225 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.267e-05/0.003217, allocations: 7.984 kB / 0.5225 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 2.316e-05/0.00324, allocations: 16.44 kB / 0.5225 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.003344, allocations: 39.83 kB / 0.5226 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.003346, allocations: 1.469 kB / 0.5226 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.41e-07/0.003346, allocations: 3.938 kB / 0.5226 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.00335, allocations: 0 / 0.5226 GB, free: 15.81 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.0003827/0.003733, allocations: 397.4 kB / 0.5229 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.003769, allocations: 8.031 kB / 0.523 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001404/0.003909, allocations: 25.84 kB / 0.523 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.00405, allocations: 129.5 kB / 0.5231 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-06/0.004058, allocations: 384 / 0.5231 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.885e-06/0.004066, allocations: 384 / 0.5231 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.004179, allocations: 67.88 kB / 0.5232 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.535e-06/0.004187, allocations: 192 / 0.5232 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.004196, allocations: 1.094 kB / 0.5232 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.004204, allocations: 3.938 kB / 0.5232 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000173/0.004377, allocations: 9.156 kB / 0.5232 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002616/0.004639, allocations: 271.7 kB / 0.5234 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.763e-05/0.004707, allocations: 35.69 kB / 0.5235 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.506e-05/0.004732, allocations: 15.77 kB / 0.5235 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.176e-05/0.004743, allocations: 1.812 kB / 0.5235 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.004766, allocations: 41.33 kB / 0.5235 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.004767, allocations: 0 / 0.5235 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001539/0.00492, allocations: 57.56 kB / 0.5236 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.781e-05/0.004948, allocations: 51.41 kB / 0.5236 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.828e-05/0.005027, allocations: 183.6 kB / 0.5238 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.596e-06/0.005035, allocations: 25.7 kB / 0.5238 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.193e-05/0.005077, allocations: 138.9 kB / 0.524 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.507e-05/0.005092, allocations: 3.953 kB / 0.524 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.799e-05/0.00512, allocations: 28.89 kB / 0.524 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.005223, allocations: 496.1 kB / 0.5245 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.452e-05/0.005237, allocations: 0 / 0.5245 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.422e-05/0.005252, allocations: 11.92 kB / 0.5245 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.351e-05/0.005285, allocations: 22.06 kB / 0.5245 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.005287, allocations: 0 / 0.5245 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.798e-05/0.005345, allocations: 53.58 kB / 0.5246 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.005357, allocations: 8 kB / 0.5246 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.005361, allocations: 0 / 0.5246 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.005374, allocations: 0 / 0.5246 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.414e-05/0.005438, allocations: 7.984 kB / 0.5246 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.005442, allocations: 2.75 kB / 0.5246 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.937e-05/0.005461, allocations: 4 kB / 0.5246 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.005469, allocations: 0 / 0.5246 GB, free: 13.56 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.827e-05/0.005527, allocations: 156.6 kB / 0.5247 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.64e-05/0.005543, allocations: 11.89 kB / 0.5247 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.206e-05/0.005565, allocations: 11.98 kB / 0.5247 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-06/0.005567, allocations: 1.219 kB / 0.5248 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.00557, allocations: 3.938 kB / 0.5248 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.005572, allocations: 0 / 0.5248 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.091e-05/0.005663, allocations: 128.6 kB / 0.5249 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.005665, allocations: 1 kB / 0.5249 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.229e-05/0.005687, allocations: 7.984 kB / 0.5249 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.32e-07/0.005688, allocations: 1.844 kB / 0.5249 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.005696, allocations: 3.938 kB / 0.5249 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.12e-07/0.005697, allocations: 0 / 0.5249 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.005697, allocations: 4 kB / 0.5249 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001053/0.005802, allocations: 191.9 kB / 0.5251 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.548e-06/0.005812, allocations: 12.61 kB / 0.5251 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.087e-05/0.005823, allocations: 3.938 kB / 0.5251 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.176e-05/0.005855, allocations: 4.641 kB / 0.5251 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.304e-05/0.005888, allocations: 4.656 kB / 0.5251 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-06/0.00589, allocations: 0 / 0.5251 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.042e-05/0.005931, allocations: 143.6 kB / 0.5252 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.005931, allocations: 0 / 0.5252 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001349/0.006066, allocations: 12 kB / 0.5253 GB, free: 12.81 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 5.865e-05/0.006124, allocations: 101.7 kB / 0.5253 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.881e-05/0.006203, allocations: 15.69 kB / 0.5254 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.006205, allocations: 0 / 0.5254 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.986e-05/0.006224, allocations: 20.08 kB / 0.5254 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001458/0.00637, allocations: 11.94 kB / 0.5254 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004948/0.006865, allocations: 177 kB / 0.5256 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.356e-05/0.006899, allocations: 55.36 kB / 0.5256 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.248e-05/0.006921, allocations: 9.578 kB / 0.5256 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.715e-05/0.006948, allocations: 12.48 kB / 0.5256 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of SimCode: time 5.21e-07/0.006949, allocations: 0 / 0.5256 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of Templates: time 0.001852/0.008801, allocations: 497.2 kB / 0.5261 GB, free: 11.9 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.5562990959733725]