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.001446/0.001446, allocations: 74.58 kB / 19.18 MB, free: 2.371 MB / 14.72 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.001713/0.001713, allocations: 168.8 kB / 22.46 MB, free: 4.992 MB / 14.72 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.474/1.474, allocations: 177.2 MB / 202.8 MB, free: 9.18 MB / 190.1 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-531:686: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-531:694: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.199/1.199, allocations: 154.7 MB / 413.9 MB, free: 5.18 MB / 382.1 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.723e-06/1.723e-06, allocations: 0 / 0.6187 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.962e-05/3.134e-05, allocations: 7.281 kB / 0.6187 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.003064/0.003095, allocations: 1.508 MB / 0.6202 GB, free: 3.047 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009776/0.004073, allocations: 473.9 kB / 0.6207 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.412e-05/0.004137, allocations: 4 kB / 0.6207 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.432e-05/0.004171, allocations: 7.922 kB / 0.6207 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.195e-05/0.004223, allocations: 7.875 kB / 0.6207 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002218/0.004445, allocations: 39.89 kB / 0.6207 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001364/0.004582, allocations: 55.72 kB / 0.6208 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.004688, allocations: 8 kB / 0.6208 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001636/0.004851, allocations: 39.95 kB / 0.6208 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.51e-05/0.004926, allocations: 19.91 kB / 0.6208 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.004946, allocations: 4 kB / 0.6209 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.76e-05/0.004994, allocations: 8 kB / 0.6209 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.43e-05/0.005018, allocations: 7.938 kB / 0.6209 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.311e-05/0.005051, allocations: 15.97 kB / 0.6209 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000168/0.005219, allocations: 59.75 kB / 0.6209 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.005224, allocations: 0 / 0.6209 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.012e-06/0.005225, allocations: 0 / 0.6209 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.005231, allocations: 0 / 0.6209 GB, free: 2.309 MB / 0.5294 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.0005716/0.005803, allocations: 298 kB / 0.6212 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.005846, allocations: 8.031 kB / 0.6212 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002395/0.006085, allocations: 28.86 kB / 0.6213 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002474/0.006333, allocations: 129.7 kB / 0.6214 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.006348, allocations: 8.375 kB / 0.6214 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.383e-05/0.006361, allocations: 4.375 kB / 0.6214 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.006541, allocations: 50.23 kB / 0.6214 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.006551, allocations: 192 / 0.6214 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.006565, allocations: 4.375 kB / 0.6214 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.006572, allocations: 3.938 kB / 0.6215 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.006701, allocations: 31.97 kB / 0.6215 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003902/0.007091, allocations: 224.5 kB / 0.6217 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.007215, allocations: 38.56 kB / 0.6217 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.6e-05/0.007291, allocations: 24.94 kB / 0.6218 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.007311, allocations: 0 / 0.6218 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.007343, allocations: 34.5 kB / 0.6218 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.007344, allocations: 3.938 kB / 0.6218 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0003343/0.007678, allocations: 89.59 kB / 0.6219 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.034e-05/0.007739, allocations: 55.39 kB / 0.6219 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.007859, allocations: 133.4 kB / 0.6221 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.007877, allocations: 25.7 kB / 0.6221 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.083e-05/0.007947, allocations: 96.02 kB / 0.6222 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.72e-05/0.007975, allocations: 15.89 kB / 0.6222 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.55e-05/0.00801, allocations: 13.72 kB / 0.6222 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.008169, allocations: 318.8 kB / 0.6225 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.743e-05/0.008237, allocations: 15.98 kB / 0.6225 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.252e-05/0.008289, allocations: 15.98 kB / 0.6225 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.008427, allocations: 44.83 kB / 0.6226 GB, free: 476 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.008428, allocations: 0 / 0.6226 GB, free: 476 kB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001714/0.008599, allocations: 81.5 kB / 0.6227 GB, free: 388 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.008614, allocations: 4 kB / 0.6227 GB, free: 384 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.008618, allocations: 0 / 0.6227 GB, free: 384 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.008631, allocations: 0 / 0.6227 GB, free: 384 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.008735, allocations: 11.98 kB / 0.6227 GB, free: 372 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.00874, allocations: 0 / 0.6227 GB, free: 372 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.203e-05/0.008792, allocations: 4 kB / 0.6227 GB, free: 368 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.0088, allocations: 4 kB / 0.6227 GB, free: 364 kB / 0.5294 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 0.0001128/0.008913, allocations: 118.8 kB / 0.6228 GB, free: 236 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.255e-05/0.008946, allocations: 11.89 kB / 0.6228 GB, free: 224 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.991e-05/0.008976, allocations: 8 kB / 0.6228 GB, free: 208 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.008977, allocations: 336 / 0.6228 GB, free: 208 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.008982, allocations: 0 / 0.6228 GB, free: 208 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.008985, allocations: 0 / 0.6228 GB, free: 208 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.009134, allocations: 117.3 kB / 0.6229 GB, free: 60 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.009139, allocations: 7.969 kB / 0.6229 GB, free: 52 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.813e-05/0.009207, allocations: 7.938 kB / 0.6229 GB, free: 44 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.009208, allocations: 8 kB / 0.6229 GB, free: 36 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.009219, allocations: 3.938 kB / 0.623 GB, free: 32 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.009222, allocations: 4 kB / 0.623 GB, free: 28 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/0.009227, allocations: 3.984 kB / 0.623 GB, free: 24 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002484/0.009475, allocations: 163.5 kB / 0.6231 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.604e-06/0.009483, allocations: 0 / 0.6231 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.0095, allocations: 15.86 kB / 0.6231 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.056e-05/0.009581, allocations: 0 / 0.6231 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.716e-05/0.009618, allocations: 4 kB / 0.6231 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.009624, allocations: 7.984 kB / 0.6231 GB, free: 15.82 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.432e-05/0.009698, allocations: 99.27 kB / 0.6232 GB, free: 15.72 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.009698, allocations: 0 / 0.6232 GB, free: 15.72 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002193/0.009918, allocations: 8 kB / 0.6232 GB, free: 15.71 MB / 0.545 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.0001074/0.01002, allocations: 93.78 kB / 0.6233 GB, free: 15.62 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000197/0.01022, allocations: 43.91 kB / 0.6234 GB, free: 15.57 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01022, allocations: 0 / 0.6234 GB, free: 15.57 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.884e-05/0.0103, allocations: 23.98 kB / 0.6234 GB, free: 15.55 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.01053, allocations: 10.12 kB / 0.6234 GB, free: 15.54 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004442/0.01097, allocations: 164.6 kB / 0.6236 GB, free: 15.36 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.541e-05/0.01106, allocations: 71.33 kB / 0.6236 GB, free: 15.27 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.04e-05/0.01109, allocations: 0 / 0.6236 GB, free: 15.27 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.404e-05/0.01112, allocations: 8.5 kB / 0.6236 GB, free: 15.26 MB / 0.545 GB Notification: Performance of SimCode: time 2.9e-07/0.01112, allocations: 4 kB / 0.6236 GB, free: 15.25 MB / 0.545 GB Notification: Performance of Templates: time 0.003133/0.01426, allocations: 448.7 kB / 0.6241 GB, free: 14.83 MB / 0.545 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: 5.9231198485940695] Failed to read output from testmodel.py, exit status != 0: 0.02570425719022751 0.041701157 0.033457344 Calling exit ...