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.0008478/0.0008478, 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.0008299/0.0008299, allocations: 169.8 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.9124/0.9124, 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.6917/0.6917, 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.0009134/0.0009134, allocations: 72.94 kB / 0.6196 GB, free: 13.09 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.5354/0.5363, allocations: 102 MB / 0.7191 GB, free: 23.66 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002213/0.5385, allocations: 1.515 MB / 0.7206 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0006486/0.5392, allocations: 458.9 kB / 0.721 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.76e-05/0.5392, allocations: 0 / 0.721 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.76e-05/0.5393, allocations: 5.156 kB / 0.721 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.538e-05/0.5393, allocations: 19.94 kB / 0.7211 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002888/0.5396, allocations: 32.31 kB / 0.7211 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001345/0.5398, allocations: 59.95 kB / 0.7211 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.5399, allocations: 16.66 kB / 0.7212 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000184/0.5401, allocations: 34.73 kB / 0.7212 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 8.89e-05/0.5402, allocations: 25.8 kB / 0.7212 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.5402, allocations: 3.906 kB / 0.7212 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.866e-05/0.5402, allocations: 5.25 kB / 0.7212 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.956e-05/0.5403, allocations: 11.06 kB / 0.7212 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.018e-05/0.5403, allocations: 19.81 kB / 0.7213 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001664/0.5405, allocations: 61.89 kB / 0.7213 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.5405, allocations: 0 / 0.7213 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.174e-06/0.5405, allocations: 1.094 kB / 0.7213 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.555e-06/0.5405, allocations: 0 / 0.7213 GB, free: 22.18 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.0004215/0.5409, allocations: 299.3 kB / 0.7216 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.5409, allocations: 9.906 kB / 0.7216 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000169/0.5411, allocations: 24.5 kB / 0.7216 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001857/0.5413, allocations: 130.8 kB / 0.7218 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.5413, allocations: 1.656 kB / 0.7218 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.5413, allocations: 1.562 kB / 0.7218 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.5415, allocations: 59.5 kB / 0.7218 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.5415, allocations: 1.891 kB / 0.7218 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.5415, allocations: 0 / 0.7218 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.5415, allocations: 1.094 kB / 0.7218 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.918e-05/0.5416, allocations: 38.39 kB / 0.7219 GB, free: 21.69 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002998/0.5419, allocations: 213.7 kB / 0.7221 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.542, allocations: 50.14 kB / 0.7221 GB, free: 21.44 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.223e-05/0.5421, allocations: 18.28 kB / 0.7221 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.5421, allocations: 1.922 kB / 0.7221 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.5421, allocations: 35.59 kB / 0.7222 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.312e-06/0.5421, allocations: 0 / 0.7222 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002645/0.5424, allocations: 90.7 kB / 0.7222 GB, free: 21.34 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/0.5424, allocations: 56.59 kB / 0.7223 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.939e-05/0.5425, allocations: 121.9 kB / 0.7224 GB, free: 21.17 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.666e-06/0.5425, allocations: 29.7 kB / 0.7224 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.407e-05/0.5425, allocations: 93.3 kB / 0.7225 GB, free: 21.05 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.864e-05/0.5425, allocations: 5.109 kB / 0.7225 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-05/0.5426, allocations: 23.31 kB / 0.7226 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.805e-05/0.5426, allocations: 314.5 kB / 0.7229 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.427e-05/0.5427, allocations: 21.47 kB / 0.7229 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.895e-05/0.5427, allocations: 18.39 kB / 0.7229 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.396e-05/0.5428, allocations: 47.78 kB / 0.7229 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.5428, allocations: 5 kB / 0.723 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001075/0.5429, allocations: 72.95 kB / 0.723 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.5429, allocations: 5.906 kB / 0.723 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.5429, allocations: 0 / 0.723 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.5429, allocations: 2.109 kB / 0.723 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.451e-05/0.543, allocations: 7.953 kB / 0.723 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.543, allocations: 1.828 kB / 0.723 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.717e-05/0.543, allocations: 8.688 kB / 0.723 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.5431, allocations: 5.969 kB / 0.7231 GB, free: 20.62 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 5.166e-05/0.5431, allocations: 117.6 kB / 0.7232 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.382e-05/0.5431, allocations: 7.422 kB / 0.7232 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.074e-05/0.5431, allocations: 6.391 kB / 0.7232 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.5431, allocations: 1.188 kB / 0.7232 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.5431, allocations: 0.8438 kB / 0.7232 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.5431, allocations: 5.094 kB / 0.7232 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001013/0.5432, allocations: 123.5 kB / 0.7233 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.5433, allocations: 0 / 0.7233 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.449e-05/0.5433, allocations: 14.47 kB / 0.7233 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.5433, allocations: 0 / 0.7233 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.968e-06/0.5433, allocations: 1.922 kB / 0.7233 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.5433, allocations: 0 / 0.7233 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.5433, allocations: 0 / 0.7233 GB, free: 20.34 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000149/0.5435, allocations: 171.5 kB / 0.7235 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.615e-06/0.5435, allocations: 9.047 kB / 0.7235 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.113e-05/0.5435, allocations: 2 kB / 0.7235 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.9e-05/0.5435, allocations: 5.531 kB / 0.7235 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.002e-05/0.5436, allocations: 6.656 kB / 0.7235 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-06/0.5436, allocations: 2.016 kB / 0.7235 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.756e-05/0.5436, allocations: 100.5 kB / 0.7236 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4e-08/0.5436, allocations: 1.375 kB / 0.7236 GB, free: 20.1 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001439/0.5438, allocations: 6.938 kB / 0.7236 GB, free: 20.1 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 8.136e-05/0.5438, allocations: 102.8 kB / 0.7237 GB, free: 20.01 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001471/0.544, allocations: 39.05 kB / 0.7237 GB, free: 20 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.544, allocations: 5.281 kB / 0.7237 GB, free: 20 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.375e-05/0.544, allocations: 16.59 kB / 0.7238 GB, free: 20 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001652/0.5442, allocations: 9.188 kB / 0.7238 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003395/0.5445, allocations: 179 kB / 0.7239 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.205e-05/0.5446, allocations: 70.03 kB / 0.724 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.113e-05/0.5446, allocations: 9.203 kB / 0.724 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.905e-05/0.5446, allocations: 12.25 kB / 0.724 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of SimCode: time 5.51e-07/0.5446, allocations: 0 / 0.724 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of Templates: time 0.002219/0.5469, allocations: 464.7 kB / 0.7245 GB, free: 19.68 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 gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.257312542991713] Failed to read output from testmodel.py, exit status != 0: 0.552835835958831 0.561925414 0.019621037 Calling exit ...