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.0008022/0.0008022, allocations: 76.45 kB / 19.9 MB, free: 16 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.0009166/0.0009166, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.954/0.954, allocations: 177.2 MB / 203.6 MB, free: 5.773 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-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 0.7544/0.7544, allocations: 154.7 MB / 414.7 MB, free: 0.7422 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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 71.89 kB / 0.6196 GB, free: 13.14 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.5666/0.5681, allocations: 101.9 MB / 0.7191 GB, free: 23.64 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002145/0.5703, allocations: 1.52 MB / 0.7206 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0006956/0.571, allocations: 460 kB / 0.721 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.985e-05/0.5711, allocations: 1.094 kB / 0.721 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.314e-05/0.5711, allocations: 5.203 kB / 0.721 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.168e-05/0.5711, allocations: 15.56 kB / 0.721 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002546/0.5714, allocations: 40.23 kB / 0.7211 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001333/0.5715, allocations: 63.56 kB / 0.7211 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.5716, allocations: 9.922 kB / 0.7212 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001506/0.5718, allocations: 43.25 kB / 0.7212 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 6.757e-05/0.5719, allocations: 16.12 kB / 0.7212 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.5719, allocations: 3.375 kB / 0.7212 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 4.533e-05/0.5719, allocations: 11.33 kB / 0.7212 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.409e-05/0.5719, allocations: 14.98 kB / 0.7212 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.504e-05/0.572, allocations: 19.09 kB / 0.7213 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001259/0.5721, allocations: 49.56 kB / 0.7213 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.5721, allocations: 0.5625 kB / 0.7213 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5721, allocations: 4 kB / 0.7213 GB, free: 22.15 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.5721, allocations: 1.188 kB / 0.7213 GB, free: 22.15 MB / 0.6355 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.0003632/0.5725, allocations: 299.6 kB / 0.7216 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.5725, allocations: 9.125 kB / 0.7216 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001465/0.5726, allocations: 24.55 kB / 0.7216 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001687/0.5728, allocations: 127.3 kB / 0.7218 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.5728, allocations: 1.531 kB / 0.7218 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.5728, allocations: 1.562 kB / 0.7218 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.573, allocations: 67.88 kB / 0.7218 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.573, allocations: 1.062 kB / 0.7218 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.573, allocations: 0 / 0.7218 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.573, allocations: 1.156 kB / 0.7218 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.182e-05/0.5731, allocations: 35.78 kB / 0.7219 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002611/0.5733, allocations: 211.1 kB / 0.7221 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.738e-05/0.5734, allocations: 50.91 kB / 0.7221 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.156e-05/0.5735, allocations: 27.38 kB / 0.7221 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.5735, allocations: 1.125 kB / 0.7221 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.652e-05/0.5735, allocations: 32.44 kB / 0.7222 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.624e-06/0.5735, allocations: 3.984 kB / 0.7222 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002435/0.5738, allocations: 81.34 kB / 0.7222 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/0.5738, allocations: 57.27 kB / 0.7223 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.076e-05/0.5738, allocations: 121.2 kB / 0.7224 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.182e-06/0.5739, allocations: 30.77 kB / 0.7224 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.836e-05/0.5739, allocations: 96.28 kB / 0.7225 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.827e-05/0.5739, allocations: 5.812 kB / 0.7225 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.416e-05/0.5739, allocations: 18.47 kB / 0.7226 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.921e-05/0.574, allocations: 319 kB / 0.7229 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.696e-05/0.574, allocations: 13.16 kB / 0.7229 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.842e-05/0.5741, allocations: 17.83 kB / 0.7229 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.113e-05/0.5741, allocations: 41.31 kB / 0.7229 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.5741, allocations: 4.641 kB / 0.7229 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001083/0.5742, allocations: 77.31 kB / 0.723 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.5743, allocations: 6.531 kB / 0.723 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.5743, allocations: 1.031 kB / 0.723 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.5743, allocations: 0.7031 kB / 0.723 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.651e-05/0.5744, allocations: 17.38 kB / 0.723 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.5744, allocations: 1.031 kB / 0.723 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.032e-05/0.5744, allocations: 5.438 kB / 0.723 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-06/0.5744, allocations: 9.578 kB / 0.7231 GB, free: 20.59 MB / 0.6355 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 4.523e-05/0.5744, allocations: 123.1 kB / 0.7232 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.639e-05/0.5745, allocations: 6.172 kB / 0.7232 GB, free: 20.46 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.451e-05/0.5745, allocations: 11.61 kB / 0.7232 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.5745, allocations: 1.281 kB / 0.7232 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.5745, allocations: 0 / 0.7232 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.5745, allocations: 1.859 kB / 0.7232 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.727e-05/0.5746, allocations: 114.3 kB / 0.7233 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.5746, allocations: 0.6562 kB / 0.7233 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.275e-05/0.5746, allocations: 9.594 kB / 0.7233 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.5746, allocations: 1.094 kB / 0.7233 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.405e-06/0.5746, allocations: 4.562 kB / 0.7233 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.5746, allocations: 1.609 kB / 0.7233 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5746, allocations: 0 / 0.7233 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001393/0.5748, allocations: 174.1 kB / 0.7235 GB, free: 20.17 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.136e-05/0.5748, allocations: 10.89 kB / 0.7235 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.5748, allocations: 2.047 kB / 0.7235 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.98e-05/0.5748, allocations: 3.969 kB / 0.7235 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.395e-05/0.5749, allocations: 3.125 kB / 0.7235 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.5749, allocations: 2.078 kB / 0.7235 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.719e-05/0.5749, allocations: 105.2 kB / 0.7236 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.1e-08/0.5749, allocations: 0 / 0.7236 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001453/0.5751, allocations: 7.656 kB / 0.7236 GB, free: 20.07 MB / 0.6355 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 9.307e-05/0.5752, allocations: 96.48 kB / 0.7237 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001507/0.5753, allocations: 39.02 kB / 0.7237 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.5753, allocations: 0 / 0.7237 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.504e-05/0.5754, allocations: 24.47 kB / 0.7238 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001857/0.5756, allocations: 10.44 kB / 0.7238 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000367/0.5759, allocations: 175.3 kB / 0.7239 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.702e-05/0.576, allocations: 67.81 kB / 0.724 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.034e-05/0.576, allocations: 7.297 kB / 0.724 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.949e-05/0.576, allocations: 10.94 kB / 0.724 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of SimCode: time 7.42e-07/0.576, allocations: 4 kB / 0.724 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of Templates: time 0.002243/0.5783, allocations: 470.8 kB / 0.7245 GB, free: 19.66 MB / 0.6355 GB " [Timeout remaining time 659] 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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.4015350609552115] Failed to read output from testmodel.py, exit status != 0: 0.5861752229975536 0.598135047 0.023769435000000002 Calling exit ...