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.0007275/0.0007275, allocations: 100.4 kB / 19.7 MB, free: 448 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.0007437/0.0007437, allocations: 210.4 kB / 22.99 MB, free: 2.977 MB / 13.93 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.9247/0.9247, allocations: 230.6 MB / 256.8 MB, free: 9.609 MB / 202.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.7979/0.7979, allocations: 203.5 MB / 0.5046 GB, free: 10.74 MB / 410.7 MB " [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.00114/0.00114, allocations: 70.89 kB / 0.719 GB, free: 3.914 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5662/0.5673, allocations: 102 MB / 0.8186 GB, free: 1.531 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002224/0.5696, allocations: 1.518 MB / 0.8201 GB, free: 500 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006762/0.5702, allocations: 460.9 kB / 0.8205 GB, free: 196 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.192e-05/0.5703, allocations: 2.844 kB / 0.8205 GB, free: 196 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.886e-05/0.5704, allocations: 5.156 kB / 0.8205 GB, free: 192 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.916e-05/0.5704, allocations: 22.47 kB / 0.8206 GB, free: 172 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002827/0.5707, allocations: 31.41 kB / 0.8206 GB, free: 156 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001253/0.5708, allocations: 53.12 kB / 0.8206 GB, free: 132 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.5709, allocations: 9.531 kB / 0.8206 GB, free: 132 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001404/0.5711, allocations: 43.19 kB / 0.8207 GB, free: 108 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.195e-05/0.5711, allocations: 17.91 kB / 0.8207 GB, free: 100 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.5712, allocations: 7.625 kB / 0.8207 GB, free: 96 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.537e-05/0.5712, allocations: 5.438 kB / 0.8207 GB, free: 96 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.575e-05/0.5712, allocations: 11.73 kB / 0.8207 GB, free: 88 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.954e-05/0.5713, allocations: 25.62 kB / 0.8208 GB, free: 72 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001459/0.5714, allocations: 51.62 kB / 0.8208 GB, free: 52 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.5714, allocations: 0 / 0.8208 GB, free: 52 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.944e-06/0.5714, allocations: 0 / 0.8208 GB, free: 52 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.185e-06/0.5714, allocations: 0.6562 kB / 0.8208 GB, free: 52 kB / 0.6042 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.0004664/0.5719, allocations: 294.5 kB / 0.8211 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.5719, allocations: 11.22 kB / 0.8211 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001688/0.5721, allocations: 24.66 kB / 0.8211 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.5723, allocations: 126 kB / 0.8212 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.5723, allocations: 5.75 kB / 0.8212 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.5723, allocations: 1.344 kB / 0.8212 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.5725, allocations: 59.84 kB / 0.8213 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.5725, allocations: 7.531 kB / 0.8213 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.5725, allocations: 0 / 0.8213 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.5725, allocations: 0 / 0.8213 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.921e-05/0.5726, allocations: 34.39 kB / 0.8213 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000377/0.573, allocations: 216.7 kB / 0.8216 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.5731, allocations: 48.42 kB / 0.8216 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.329e-05/0.5731, allocations: 25.7 kB / 0.8216 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.5732, allocations: 0 / 0.8216 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.5732, allocations: 31.22 kB / 0.8217 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.5732, allocations: 0 / 0.8217 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002815/0.5735, allocations: 87.09 kB / 0.8217 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.5735, allocations: 59.95 kB / 0.8218 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.5736, allocations: 127.6 kB / 0.8219 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.5736, allocations: 25.7 kB / 0.8219 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.768e-05/0.5737, allocations: 94.28 kB / 0.822 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.398e-05/0.5737, allocations: 11.47 kB / 0.822 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-05/0.5737, allocations: 13.14 kB / 0.8221 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.969e-05/0.5738, allocations: 319.2 kB / 0.8224 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.078e-05/0.5739, allocations: 17.58 kB / 0.8224 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.663e-05/0.5739, allocations: 13.97 kB / 0.8224 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.39e-05/0.574, allocations: 46.47 kB / 0.8224 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.574, allocations: 4.734 kB / 0.8224 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001205/0.5741, allocations: 70.86 kB / 0.8225 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.5741, allocations: 5.719 kB / 0.8225 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.5741, allocations: 7.938 kB / 0.8225 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.5742, allocations: 0.75 kB / 0.8225 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.583e-05/0.5742, allocations: 16.33 kB / 0.8225 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.5742, allocations: 0 / 0.8225 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.78e-05/0.5743, allocations: 8.594 kB / 0.8225 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.5743, allocations: 0.5625 kB / 0.8225 GB, free: 14.49 MB / 0.6198 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 6.31e-05/0.5743, allocations: 118.4 kB / 0.8227 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.518e-05/0.5744, allocations: 5.641 kB / 0.8227 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.857e-05/0.5744, allocations: 14.98 kB / 0.8227 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.5744, allocations: 2.656 kB / 0.8227 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.5744, allocations: 0 / 0.8227 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.5744, allocations: 0.6094 kB / 0.8227 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001115/0.5745, allocations: 119.3 kB / 0.8228 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.5745, allocations: 0 / 0.8228 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.837e-05/0.5745, allocations: 13.55 kB / 0.8228 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.5746, allocations: 1.344 kB / 0.8228 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.749e-06/0.5746, allocations: 4.703 kB / 0.8228 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.5746, allocations: 1 kB / 0.8228 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.5746, allocations: 0 / 0.8228 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001561/0.5747, allocations: 170.2 kB / 0.823 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.979e-06/0.5747, allocations: 7.781 kB / 0.823 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.5747, allocations: 0 / 0.823 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.916e-05/0.5748, allocations: 6.109 kB / 0.823 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.2e-05/0.5748, allocations: 6.969 kB / 0.823 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.5748, allocations: 4.656 kB / 0.823 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.67e-05/0.5749, allocations: 94.25 kB / 0.8231 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5749, allocations: 3.875 kB / 0.8231 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001443/0.575, allocations: 4.188 kB / 0.8231 GB, free: 13.98 MB / 0.6198 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.189e-05/0.5751, allocations: 96.5 kB / 0.8232 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001542/0.5753, allocations: 40.78 kB / 0.8232 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.5753, allocations: 4 kB / 0.8232 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.27e-05/0.5753, allocations: 24.94 kB / 0.8233 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001783/0.5755, allocations: 8.594 kB / 0.8233 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004115/0.5759, allocations: 198.4 kB / 0.8234 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.83e-05/0.576, allocations: 68.95 kB / 0.8235 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.615e-05/0.576, allocations: 16.44 kB / 0.8235 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of SimCode: time 3.41e-07/0.576, allocations: 4 kB / 0.8235 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of Templates: time 0.001935/0.5779, allocations: 0.7779 MB / 0.8243 GB, free: 13.54 MB / 0.6198 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.905702906660736] Failed to read output from testmodel.py, exit status != 0: 0.5845657801255584 0.5961091789999999 0.022552678000000003 Calling exit ...