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.0008789/0.0008789, allocations: 80.81 kB / 19.94 MB, free: 4.543 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.001451/0.001451, allocations: 177 kB / 23.36 MB, free: 1.125 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 1.001/1.001, allocations: 177.1 MB / 203.8 MB, free: 5.445 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-545:108: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-545:116: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.7627/0.7627, allocations: 154.6 MB / 414.8 MB, free: 500 kB / 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: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 480 MB, free: 6.941 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.118e-05/2.268e-05, allocations: 4.125 kB / 480 MB, free: 6.938 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002004/0.002026, allocations: 1.56 MB / 481.6 MB, free: 5.398 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006822/0.002709, allocations: 487.1 kB / 482 MB, free: 4.926 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.626e-05/0.002765, allocations: 0.75 kB / 482 MB, free: 4.926 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.861e-05/0.002793, allocations: 7.938 kB / 482 MB, free: 4.918 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.891e-05/0.002852, allocations: 15.2 kB / 482.1 MB, free: 4.91 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002092/0.003062, allocations: 36.83 kB / 482.1 MB, free: 4.875 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.000109/0.003171, allocations: 63.11 kB / 482.2 MB, free: 4.824 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.464e-05/0.003245, allocations: 11.92 kB / 482.2 MB, free: 4.812 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.003366, allocations: 32.72 kB / 482.2 MB, free: 4.781 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.241e-05/0.003429, allocations: 24.72 kB / 482.2 MB, free: 4.758 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.003443, allocations: 4 kB / 482.2 MB, free: 4.754 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.697e-05/0.00348, allocations: 5.156 kB / 482.2 MB, free: 4.75 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.35e-05/0.003493, allocations: 11.98 kB / 482.2 MB, free: 4.738 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.865e-05/0.003512, allocations: 15.92 kB / 482.3 MB, free: 4.723 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 9.618e-05/0.003608, allocations: 41.72 kB / 482.3 MB, free: 4.684 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.003611, allocations: 4 kB / 482.3 MB, free: 4.68 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.003612, allocations: 0 / 482.3 MB, free: 4.68 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.003615, allocations: 0 / 482.3 MB, free: 4.68 MB / 442.7 MB 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.0002857/0.003901, allocations: 267.8 kB / 482.6 MB, free: 4.398 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.074e-05/0.003932, allocations: 8.969 kB / 482.6 MB, free: 4.391 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/0.004047, allocations: 24.91 kB / 482.6 MB, free: 4.367 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.004165, allocations: 124 kB / 482.7 MB, free: 4.223 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.004174, allocations: 5.031 kB / 482.7 MB, free: 4.219 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.356e-06/0.004183, allocations: 384 / 482.7 MB, free: 4.219 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.515e-05/0.004268, allocations: 56.19 kB / 482.8 MB, free: 4.156 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.761e-06/0.004274, allocations: 192 / 482.8 MB, free: 4.156 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-06/0.004281, allocations: 12.31 kB / 482.8 MB, free: 4.145 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.004286, allocations: 4.969 kB / 482.8 MB, free: 4.141 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.978e-05/0.004305, allocations: 9.344 kB / 482.8 MB, free: 4.133 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001908/0.004496, allocations: 157.1 kB / 483 MB, free: 3.965 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.205e-05/0.004548, allocations: 26.64 kB / 483 MB, free: 3.93 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.511e-05/0.004563, allocations: 9.703 kB / 483 MB, free: 3.918 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.004575, allocations: 3.938 kB / 483 MB, free: 3.914 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.004597, allocations: 43.33 kB / 483 MB, free: 3.863 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 9.31e-07/0.004598, allocations: 0.5312 kB / 483 MB, free: 3.863 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001056/0.004704, allocations: 45.62 kB / 483.1 MB, free: 3.812 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.583e-05/0.00473, allocations: 52.06 kB / 483.1 MB, free: 3.75 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.876e-05/0.004788, allocations: 131.3 kB / 483.3 MB, free: 3.609 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.957e-06/0.004797, allocations: 25.7 kB / 483.3 MB, free: 3.578 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.151e-05/0.004829, allocations: 88.66 kB / 483.4 MB, free: 3.488 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.614e-05/0.004845, allocations: 15.83 kB / 483.4 MB, free: 3.473 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.228e-05/0.004867, allocations: 14.34 kB / 483.4 MB, free: 3.453 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.491e-05/0.004942, allocations: 319.4 kB / 483.7 MB, free: 3.133 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.159e-05/0.004954, allocations: 4 kB / 483.7 MB, free: 3.129 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.117e-06/0.004963, allocations: 5.688 kB / 483.7 MB, free: 3.125 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.814e-05/0.004991, allocations: 20.84 kB / 483.7 MB, free: 3.102 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.004993, allocations: 1.781 kB / 483.7 MB, free: 3.102 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.977e-05/0.005043, allocations: 39.7 kB / 483.8 MB, free: 3.059 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.005054, allocations: 8 kB / 483.8 MB, free: 3.051 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.00506, allocations: 3.938 kB / 483.8 MB, free: 3.047 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.057e-06/0.005069, allocations: 0 / 483.8 MB, free: 3.047 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.692e-05/0.005126, allocations: 8.516 kB / 483.8 MB, free: 3.039 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-06/0.005128, allocations: 0.75 kB / 483.8 MB, free: 3.039 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.967e-05/0.005148, allocations: 4 kB / 483.8 MB, free: 3.035 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.005153, allocations: 5.281 kB / 483.8 MB, free: 3.031 MB / 442.7 MB 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.076e-05/0.005204, allocations: 109.8 kB / 483.9 MB, free: 2.914 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.346e-05/0.005217, allocations: 3.984 kB / 483.9 MB, free: 2.91 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.132e-05/0.005238, allocations: 17.84 kB / 483.9 MB, free: 2.891 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.00524, allocations: 0 / 483.9 MB, free: 2.891 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-06/0.005241, allocations: 0 / 483.9 MB, free: 2.891 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.005243, allocations: 0 / 483.9 MB, free: 2.891 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.804e-05/0.005331, allocations: 73.88 kB / 484 MB, free: 2.801 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.005332, allocations: 0.625 kB / 484 MB, free: 2.801 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.379e-05/0.005356, allocations: 13.17 kB / 484 MB, free: 2.789 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.005357, allocations: 0 / 484 MB, free: 2.789 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-06/0.005362, allocations: 0 / 484 MB, free: 2.789 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.005363, allocations: 0 / 484 MB, free: 2.789 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.005365, allocations: 4.562 kB / 484 MB, free: 2.785 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.908e-05/0.005444, allocations: 141.4 kB / 484.2 MB, free: 2.633 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.845e-06/0.005451, allocations: 7.953 kB / 484.2 MB, free: 2.625 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.526e-06/0.00546, allocations: 3.938 kB / 484.2 MB, free: 2.625 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.213e-05/0.005492, allocations: 7.984 kB / 484.2 MB, free: 2.617 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.396e-05/0.005516, allocations: 3.938 kB / 484.2 MB, free: 2.613 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.005518, allocations: 0.75 kB / 484.2 MB, free: 2.613 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.056e-05/0.005539, allocations: 24.83 kB / 484.2 MB, free: 2.586 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005539, allocations: 0.8438 kB / 484.2 MB, free: 2.586 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001157/0.005655, allocations: 11.94 kB / 484.2 MB, free: 2.574 MB / 442.7 MB 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 7.035e-05/0.005725, allocations: 85.5 kB / 484.3 MB, free: 2.484 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 5.417e-05/0.005779, allocations: 12.86 kB / 484.3 MB, free: 2.469 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.005781, allocations: 1.094 kB / 484.3 MB, free: 2.469 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.692e-05/0.005798, allocations: 20.78 kB / 484.3 MB, free: 2.445 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001044/0.005903, allocations: 5.031 kB / 484.4 MB, free: 2.441 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000447/0.00635, allocations: 180.4 kB / 484.5 MB, free: 2.242 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.527e-05/0.006385, allocations: 59.36 kB / 484.6 MB, free: 2.164 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.033e-05/0.006405, allocations: 0.625 kB / 484.6 MB, free: 2.164 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.997e-05/0.006445, allocations: 55.36 kB / 484.6 MB, free: 2.109 MB / 442.7 MB Notification: Performance of SimCode: time 9.82e-07/0.006446, allocations: 4.531 kB / 484.6 MB, free: 2.105 MB / 442.7 MB Notification: Performance of Templates: time 0.00185/0.008296, allocations: 450.5 kB / 485.1 MB, free: 1.699 MB / 442.7 MB " [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=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.569005022291094]