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.0008222/0.0008222, allocations: 76.52 kB / 19.91 MB, free: 4.641 MB / 18.57 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.0008349/0.0008349, allocations: 169.2 kB / 23.2 MB, free: 1.359 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.8531/0.8531, allocations: 177.2 MB / 203.6 MB, free: 5.762 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.6937/0.6937, allocations: 154.7 MB / 414.7 MB, free: 0.7695 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.0009691/0.0009691, allocations: 67.91 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.3996/0.4005, allocations: 101.9 MB / 0.7191 GB, free: 23.65 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.001871/0.4024, allocations: 1.528 MB / 0.7206 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0006069/0.403, allocations: 459.3 kB / 0.721 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.381e-05/0.4031, allocations: 1.156 kB / 0.721 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.046e-05/0.4031, allocations: 4.641 kB / 0.721 GB, free: 22.3 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 4.783e-05/0.4031, allocations: 15.42 kB / 0.7211 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002324/0.4034, allocations: 35.42 kB / 0.7211 GB, free: 22.27 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001112/0.4035, allocations: 60.61 kB / 0.7212 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.643e-05/0.4036, allocations: 10.39 kB / 0.7212 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.4037, allocations: 38.98 kB / 0.7212 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 6.479e-05/0.4038, allocations: 24.72 kB / 0.7212 GB, free: 22.21 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.4038, allocations: 8.344 kB / 0.7212 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 4.344e-05/0.4038, allocations: 4.969 kB / 0.7212 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.587e-05/0.4039, allocations: 11.25 kB / 0.7212 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.39e-05/0.4039, allocations: 20.08 kB / 0.7213 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001415/0.404, allocations: 55.94 kB / 0.7213 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.404, allocations: 0 / 0.7213 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.954e-06/0.404, allocations: 0 / 0.7213 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.404, allocations: 0 / 0.7213 GB, free: 22.16 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.0003751/0.4044, allocations: 300.4 kB / 0.7216 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.4045, allocations: 9.094 kB / 0.7216 GB, free: 21.87 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001443/0.4046, allocations: 29.08 kB / 0.7216 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001624/0.4048, allocations: 125.7 kB / 0.7218 GB, free: 21.73 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.4048, allocations: 5.281 kB / 0.7218 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.4048, allocations: 5.625 kB / 0.7218 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.4049, allocations: 57.44 kB / 0.7218 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.4049, allocations: 0 / 0.7218 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.4049, allocations: 4 kB / 0.7218 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.405, allocations: 1.531 kB / 0.7218 GB, free: 21.68 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.196e-05/0.405, allocations: 35.11 kB / 0.7219 GB, free: 21.67 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002487/0.4053, allocations: 221 kB / 0.7221 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.506e-05/0.4054, allocations: 50.42 kB / 0.7221 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.006e-05/0.4054, allocations: 22.72 kB / 0.7221 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.4054, allocations: 1.094 kB / 0.7221 GB, free: 21.4 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.609e-05/0.4055, allocations: 32.3 kB / 0.7222 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.4055, allocations: 0 / 0.7222 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002345/0.4057, allocations: 90.31 kB / 0.7223 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.594e-05/0.4057, allocations: 55.86 kB / 0.7223 GB, free: 21.25 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.231e-05/0.4058, allocations: 124.4 kB / 0.7224 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.612e-06/0.4058, allocations: 26.89 kB / 0.7225 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.727e-05/0.4058, allocations: 92.33 kB / 0.7225 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.796e-05/0.4058, allocations: 9.797 kB / 0.7226 GB, free: 21.01 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.472e-05/0.4059, allocations: 14.31 kB / 0.7226 GB, free: 21 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.939e-05/0.4059, allocations: 318.9 kB / 0.7229 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.082e-05/0.4059, allocations: 21.53 kB / 0.7229 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.361e-05/0.406, allocations: 13.92 kB / 0.7229 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.591e-05/0.406, allocations: 45.36 kB / 0.723 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.406, allocations: 0 / 0.723 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.793e-05/0.4061, allocations: 76.95 kB / 0.723 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.4061, allocations: 10.23 kB / 0.723 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.4061, allocations: 0 / 0.723 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.4062, allocations: 4 kB / 0.723 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.848e-05/0.4062, allocations: 10.3 kB / 0.7231 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.4062, allocations: 1.188 kB / 0.7231 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.57e-05/0.4063, allocations: 3.891 kB / 0.7231 GB, free: 20.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.4063, allocations: 5.688 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 3.99e-05/0.4063, allocations: 118.8 kB / 0.7232 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.722e-05/0.4063, allocations: 6.688 kB / 0.7232 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.013e-05/0.4063, allocations: 15.2 kB / 0.7232 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.4064, allocations: 0.6562 kB / 0.7232 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.4064, allocations: 1.125 kB / 0.7232 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.452e-06/0.4064, allocations: 11.09 kB / 0.7232 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.092e-05/0.4064, allocations: 0 / 0.7232 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.9e-05/0.4064, allocations: 5.484 kB / 0.7232 GB, free: 20.45 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.771e-05/0.4064, allocations: 7.281 kB / 0.7232 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001164/0.4066, allocations: 155.2 kB / 0.7234 GB, free: 20.32 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001135/0.4067, allocations: 242.8 kB / 0.7236 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.826e-05/0.4067, allocations: 26.59 kB / 0.7236 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.965e-05/0.4068, allocations: 94.61 kB / 0.7237 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of Backend: time 4.91e-07/0.4068, allocations: 1.125 kB / 0.7237 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002939/0.407, allocations: 102.9 kB / 0.7238 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0003155/0.4074, allocations: 0.6223 MB / 0.7244 GB, free: 19.33 MB / 0.6355 GB Notification: Performance of Templates: time 0.002333/0.4097, allocations: 0.6836 MB / 0.7251 GB, free: 19.24 MB / 0.6355 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: 3.8973000629339367] Failed to read output from testmodel.py, exit status != 0: 0.4149584178812802 0.423271669 0.017555984 Calling exit ...