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.001287/0.001287, allocations: 78.33 kB / 19.18 MB, free: 2.527 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.001414/0.001414, allocations: 168.3 kB / 22.46 MB, free: 5.359 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.451/1.451, allocations: 177.1 MB / 202.8 MB, free: 9.184 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.215/1.215, allocations: 154.6 MB / 413.8 MB, free: 5.219 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.864e-06/1.864e-06, allocations: 0 / 0.6186 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.706e-05/2.893e-05, allocations: 3 kB / 0.6186 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002828/0.002857, allocations: 1.512 MB / 0.6201 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009334/0.003791, allocations: 478.7 kB / 0.6205 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.581e-05/0.003856, allocations: 0 / 0.6205 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.836e-05/0.003895, allocations: 7.922 kB / 0.6205 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.798e-05/0.003953, allocations: 11.81 kB / 0.6205 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002473/0.0042, allocations: 35.94 kB / 0.6206 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000132/0.004332, allocations: 67.67 kB / 0.6206 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.004437, allocations: 11.98 kB / 0.6206 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001559/0.004593, allocations: 31.91 kB / 0.6207 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.572e-05/0.004658, allocations: 19.97 kB / 0.6207 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.004678, allocations: 4 kB / 0.6207 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.606e-05/0.004724, allocations: 8 kB / 0.6207 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.857e-05/0.004743, allocations: 7.938 kB / 0.6207 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.752e-05/0.00478, allocations: 15.98 kB / 0.6207 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001343/0.004915, allocations: 55.73 kB / 0.6208 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.004919, allocations: 4 kB / 0.6208 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.052e-06/0.00492, allocations: 4 kB / 0.6208 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.004931, allocations: 0 / 0.6208 GB, free: 2.297 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.0005589/0.00549, allocations: 290 kB / 0.6211 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.005535, allocations: 12.03 kB / 0.6211 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002251/0.00576, allocations: 20.88 kB / 0.6211 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002354/0.005995, allocations: 133.6 kB / 0.6212 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.111e-06/0.006002, allocations: 384 / 0.6212 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.006019, allocations: 4.375 kB / 0.6212 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001733/0.006192, allocations: 58.23 kB / 0.6213 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.006202, allocations: 192 / 0.6213 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.006212, allocations: 384 / 0.6213 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.006219, allocations: 7.938 kB / 0.6213 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001415/0.00636, allocations: 35.97 kB / 0.6213 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003801/0.00674, allocations: 224.5 kB / 0.6215 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/0.006878, allocations: 38.55 kB / 0.6216 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.5e-05/0.006953, allocations: 28.94 kB / 0.6216 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.006971, allocations: 0 / 0.6216 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.007001, allocations: 42.5 kB / 0.6216 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.007002, allocations: 0 / 0.6216 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0003248/0.007326, allocations: 85.58 kB / 0.6217 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.00737, allocations: 55.41 kB / 0.6218 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.007478, allocations: 121.8 kB / 0.6219 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.007498, allocations: 29.7 kB / 0.6219 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.359e-05/0.007562, allocations: 100.1 kB / 0.622 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.136e-05/0.007583, allocations: 7.891 kB / 0.622 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.734e-05/0.007621, allocations: 17.72 kB / 0.622 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.007765, allocations: 314.8 kB / 0.6223 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.329e-05/0.007838, allocations: 19.98 kB / 0.6224 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.957e-05/0.007898, allocations: 15.98 kB / 0.6224 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.008036, allocations: 40.83 kB / 0.6224 GB, free: 472 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.008038, allocations: 0 / 0.6224 GB, free: 472 kB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001866/0.008224, allocations: 85.5 kB / 0.6225 GB, free: 380 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.00824, allocations: 4 kB / 0.6225 GB, free: 376 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.008244, allocations: 0 / 0.6225 GB, free: 376 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.008259, allocations: 0 / 0.6225 GB, free: 376 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.542e-05/0.008355, allocations: 11.98 kB / 0.6225 GB, free: 364 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.008359, allocations: 0 / 0.6225 GB, free: 364 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.283e-05/0.008412, allocations: 4 kB / 0.6225 GB, free: 360 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.008423, allocations: 3.984 kB / 0.6225 GB, free: 356 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 9.995e-05/0.008523, allocations: 118.8 kB / 0.6226 GB, free: 228 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.148e-05/0.008554, allocations: 11.89 kB / 0.6226 GB, free: 216 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.659e-05/0.008581, allocations: 4 kB / 0.6227 GB, free: 204 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.008582, allocations: 0 / 0.6227 GB, free: 204 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.008586, allocations: 0 / 0.6227 GB, free: 204 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.008589, allocations: 7.938 kB / 0.6227 GB, free: 196 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001461/0.008735, allocations: 117.3 kB / 0.6228 GB, free: 48 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.008736, allocations: 0 / 0.6228 GB, free: 48 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.588e-05/0.008801, allocations: 8 kB / 0.6228 GB, free: 40 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.008803, allocations: 0 / 0.6228 GB, free: 40 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.008815, allocations: 11.86 kB / 0.6228 GB, free: 28 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.008816, allocations: 4 kB / 0.6228 GB, free: 24 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.008818, allocations: 3.938 kB / 0.6228 GB, free: 20 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00025/0.009068, allocations: 163.5 kB / 0.623 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.908e-06/0.009078, allocations: 4.375 kB / 0.623 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/0.009098, allocations: 11.92 kB / 0.623 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.925e-05/0.009178, allocations: 4 kB / 0.623 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.64e-05/0.009224, allocations: 3.984 kB / 0.623 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.009231, allocations: 4 kB / 0.623 GB, free: 15.82 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.072e-05/0.009302, allocations: 98.14 kB / 0.6231 GB, free: 15.72 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.009302, allocations: 4 kB / 0.6231 GB, free: 15.72 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002175/0.009519, allocations: 8 kB / 0.6231 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.0001257/0.009645, allocations: 99.25 kB / 0.6232 GB, free: 15.61 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001906/0.009836, allocations: 39.89 kB / 0.6232 GB, free: 15.57 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.009837, allocations: 0 / 0.6232 GB, free: 15.57 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.276e-05/0.00991, allocations: 19.98 kB / 0.6232 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.0002206/0.01013, allocations: 8 kB / 0.6232 GB, free: 15.54 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004053/0.01054, allocations: 164.6 kB / 0.6234 GB, free: 15.35 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.306e-05/0.01061, allocations: 71.33 kB / 0.6235 GB, free: 15.26 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.084e-05/0.01064, allocations: 0 / 0.6235 GB, free: 15.26 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.029e-05/0.01068, allocations: 12.5 kB / 0.6235 GB, free: 15.25 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/0.01068, allocations: 0 / 0.6235 GB, free: 15.25 MB / 0.545 GB Notification: Performance of Templates: time 0.002947/0.01363, allocations: 456.8 kB / 0.6239 GB, free: 14.82 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.884566601365805] Failed to read output from testmodel.py, exit status != 0: 0.02218615636229515 0.036495973 0.028574155 Calling exit ...