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.001076/0.001076, allocations: 72.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.0008104/0.0008104, 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.8585/0.8585, allocations: 177.2 MB / 203.6 MB, free: 5.75 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.7194/0.7194, allocations: 154.7 MB / 414.7 MB, free: 0.75 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.0009306/0.0009306, allocations: 79.88 kB / 0.6196 GB, free: 13.07 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.4915/0.4925, allocations: 101.9 MB / 0.7191 GB, free: 23.62 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.003128/0.4956, allocations: 1.52 MB / 0.7206 GB, free: 22.57 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0009069/0.4965, allocations: 466.8 kB / 0.721 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.007e-05/0.4966, allocations: 1.062 kB / 0.721 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.351e-05/0.4966, allocations: 5.203 kB / 0.721 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.696e-05/0.4967, allocations: 11.38 kB / 0.7211 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002732/0.4969, allocations: 35.17 kB / 0.7211 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.4971, allocations: 57.12 kB / 0.7211 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.4972, allocations: 17.05 kB / 0.7212 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001643/0.4973, allocations: 41.94 kB / 0.7212 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 7.547e-05/0.4974, allocations: 22.06 kB / 0.7212 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.4974, allocations: 2.562 kB / 0.7212 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.039e-05/0.4975, allocations: 6.531 kB / 0.7212 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.022e-05/0.4975, allocations: 10.97 kB / 0.7212 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.749e-05/0.4975, allocations: 16.72 kB / 0.7213 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001424/0.4977, allocations: 67 kB / 0.7213 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.4977, allocations: 0 / 0.7213 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.054e-06/0.4977, allocations: 1.062 kB / 0.7213 GB, free: 22.13 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.4977, allocations: 4 kB / 0.7213 GB, free: 22.12 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.0003883/0.4981, allocations: 298.7 kB / 0.7216 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.4981, allocations: 9.281 kB / 0.7216 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001513/0.4983, allocations: 24.73 kB / 0.7216 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/0.4984, allocations: 122.2 kB / 0.7218 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.4985, allocations: 5.375 kB / 0.7218 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.4985, allocations: 2.562 kB / 0.7218 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.4986, allocations: 60.47 kB / 0.7218 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.4986, allocations: 0 / 0.7218 GB, free: 21.66 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.4986, allocations: 4.547 kB / 0.7218 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.962e-06/0.4986, allocations: 1.094 kB / 0.7218 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.649e-05/0.4987, allocations: 39.14 kB / 0.7219 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002811/0.499, allocations: 217.1 kB / 0.7221 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.268e-05/0.4991, allocations: 46.12 kB / 0.7221 GB, free: 21.39 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.733e-05/0.4991, allocations: 27.34 kB / 0.7221 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.4992, allocations: 0.5156 kB / 0.7221 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.697e-05/0.4992, allocations: 36.38 kB / 0.7222 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.583e-06/0.4992, allocations: 1.156 kB / 0.7222 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002377/0.4994, allocations: 86.2 kB / 0.7223 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.334e-05/0.4994, allocations: 51.41 kB / 0.7223 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.366e-05/0.4995, allocations: 124.6 kB / 0.7224 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.494e-06/0.4995, allocations: 26.95 kB / 0.7225 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.851e-05/0.4995, allocations: 92.58 kB / 0.7225 GB, free: 21 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.875e-05/0.4996, allocations: 13.59 kB / 0.7226 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.361e-05/0.4996, allocations: 14.39 kB / 0.7226 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.589e-05/0.4996, allocations: 319.6 kB / 0.7229 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.604e-05/0.4997, allocations: 16.41 kB / 0.7229 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.491e-05/0.4997, allocations: 14.59 kB / 0.7229 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.137e-05/0.4998, allocations: 49.14 kB / 0.723 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.4998, allocations: 4.453 kB / 0.723 GB, free: 20.62 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000109/0.4999, allocations: 77.55 kB / 0.723 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.4999, allocations: 5.562 kB / 0.723 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.4999, allocations: 0 / 0.723 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.4999, allocations: 1.125 kB / 0.723 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.648e-05/0.5, allocations: 12.88 kB / 0.723 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.5, allocations: 1.719 kB / 0.723 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.63e-05/0.5, allocations: 5.25 kB / 0.7231 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.5001, allocations: 0.75 kB / 0.7231 GB, free: 20.57 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.554e-05/0.5001, allocations: 126.8 kB / 0.7232 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.418e-05/0.5001, allocations: 6.047 kB / 0.7232 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.327e-05/0.5001, allocations: 11.3 kB / 0.7232 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.5001, allocations: 5.781 kB / 0.7232 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.5001, allocations: 0 / 0.7232 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.5001, allocations: 1.125 kB / 0.7232 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.717e-05/0.5002, allocations: 115.5 kB / 0.7233 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.5002, allocations: 3.938 kB / 0.7233 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.361e-05/0.5003, allocations: 13.53 kB / 0.7233 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.5003, allocations: 1.859 kB / 0.7233 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.5003, allocations: 0 / 0.7233 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.5003, allocations: 5.641 kB / 0.7233 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.5003, allocations: 0 / 0.7233 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001327/0.5004, allocations: 165.6 kB / 0.7235 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.837e-06/0.5004, allocations: 10.97 kB / 0.7235 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/0.5004, allocations: 1.859 kB / 0.7235 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.02e-05/0.5005, allocations: 4.625 kB / 0.7235 GB, free: 20.14 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/0.5005, allocations: 7.656 kB / 0.7235 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.5005, allocations: 1.734 kB / 0.7235 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.467e-05/0.5006, allocations: 97.64 kB / 0.7236 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5006, allocations: 4 kB / 0.7236 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001471/0.5007, allocations: 7.781 kB / 0.7236 GB, free: 20.05 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.568e-05/0.5008, allocations: 94.55 kB / 0.7237 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001296/0.5009, allocations: 40.78 kB / 0.7237 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.5009, allocations: 0 / 0.7237 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.172e-05/0.501, allocations: 20.89 kB / 0.7238 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000174/0.5011, allocations: 8.438 kB / 0.7238 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003266/0.5015, allocations: 206 kB / 0.724 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.707e-05/0.5015, allocations: 68.08 kB / 0.724 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.416e-05/0.5015, allocations: 15.78 kB / 0.7241 GB, free: 19.69 MB / 0.6355 GB Notification: Performance of SimCode: time 7.21e-07/0.5015, allocations: 0 / 0.7241 GB, free: 19.69 MB / 0.6355 GB Notification: Performance of Templates: time 0.002089/0.5036, allocations: 0.7931 MB / 0.7248 GB, free: 19.62 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.510456743184477] Failed to read output from testmodel.py, exit status != 0: 0.5099314451217651 0.520621022 0.02080844 Calling exit ...