Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 113.4 kB / 17.13 MB, free: 5.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 192.6 kB / 20.08 MB, free: 2.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 225.6 MB / 248.5 MB, free: 3.594 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.211/1.211, allocations: 175.7 MB / 479.1 MB, free: 3.406 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_dev_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_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 64 kB / 0.6663 GB, free: 10.87 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.1996, allocations: 94.54 MB / 0.7587 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002839/0.2024, allocations: 1.512 MB / 0.7601 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0007149/0.2031, allocations: 413 kB / 0.7605 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.117e-05/0.2032, allocations: 0 / 0.7605 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.574e-05/0.2032, allocations: 7.922 kB / 0.7605 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.649e-05/0.2033, allocations: 15.86 kB / 0.7606 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001759/0.2034, allocations: 19.98 kB / 0.7606 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.661e-05/0.2035, allocations: 55.72 kB / 0.7606 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.2036, allocations: 11.94 kB / 0.7606 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.2037, allocations: 31.84 kB / 0.7607 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.572e-05/0.2038, allocations: 23.91 kB / 0.7607 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.2038, allocations: 0 / 0.7607 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.373e-05/0.2039, allocations: 4 kB / 0.7607 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.099e-05/0.2039, allocations: 11.94 kB / 0.7607 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.766e-05/0.2039, allocations: 23.86 kB / 0.7607 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001183/0.204, allocations: 43.81 kB / 0.7608 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.204, allocations: 3.938 kB / 0.7608 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.322e-06/0.204, allocations: 0 / 0.7608 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.204, allocations: 0 / 0.7608 GB, free: 14.94 MB / 0.5762 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.0005591/0.2046, allocations: 363.3 kB / 0.7611 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.2046, allocations: 12.02 kB / 0.7611 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.799e-05/0.2047, allocations: 8.891 kB / 0.7611 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.2048, allocations: 164.3 kB / 0.7613 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.2048, allocations: 8.375 kB / 0.7613 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/0.2049, allocations: 3.938 kB / 0.7613 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.205, allocations: 57.67 kB / 0.7614 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.2051, allocations: 3.938 kB / 0.7614 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.2051, allocations: 0 / 0.7614 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.2051, allocations: 0 / 0.7614 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001543/0.2052, allocations: 39.97 kB / 0.7614 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004205/0.2057, allocations: 280.8 kB / 0.7617 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001291/0.2058, allocations: 42.55 kB / 0.7617 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.856e-05/0.2059, allocations: 24.88 kB / 0.7617 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.2059, allocations: 0 / 0.7617 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.2059, allocations: 34.56 kB / 0.7618 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 7.91e-07/0.2059, allocations: 4 kB / 0.7618 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0003239/0.2062, allocations: 85.64 kB / 0.7619 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.2063, allocations: 55.34 kB / 0.7619 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.2064, allocations: 117.8 kB / 0.762 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.2064, allocations: 25.7 kB / 0.7621 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.487e-05/0.2065, allocations: 92.12 kB / 0.7621 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.863e-05/0.2065, allocations: 7.906 kB / 0.7621 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.975e-05/0.2065, allocations: 21.72 kB / 0.7622 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.2067, allocations: 318.8 kB / 0.7625 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.492e-05/0.2067, allocations: 23.92 kB / 0.7625 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.811e-05/0.2068, allocations: 15.98 kB / 0.7625 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001314/0.2069, allocations: 44.77 kB / 0.7626 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.2069, allocations: 0 / 0.7626 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000176/0.2071, allocations: 77.62 kB / 0.7626 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.2071, allocations: 4 kB / 0.7626 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.2071, allocations: 0 / 0.7626 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.2071, allocations: 0 / 0.7626 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.2072, allocations: 11.98 kB / 0.7626 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.2072, allocations: 0 / 0.7626 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.274e-05/0.2073, allocations: 4 kB / 0.7626 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.2073, allocations: 11.86 kB / 0.7627 GB, free: 12.79 MB / 0.5762 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 9.38e-05/0.2074, allocations: 117.8 kB / 0.7628 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.455e-05/0.2074, allocations: 0 / 0.7628 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.381e-05/0.2075, allocations: 7.906 kB / 0.7628 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/0.2075, allocations: 0 / 0.7628 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.2075, allocations: 0 / 0.7628 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.2075, allocations: 0 / 0.7628 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001988/0.2077, allocations: 173.6 kB / 0.7629 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.2077, allocations: 4 kB / 0.7629 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.911e-05/0.2077, allocations: 4 kB / 0.7629 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-06/0.2077, allocations: 7.984 kB / 0.763 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.2077, allocations: 8 kB / 0.763 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.2077, allocations: 0 / 0.763 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2077, allocations: 0 / 0.763 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002317/0.208, allocations: 163.4 kB / 0.7631 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.393e-05/0.208, allocations: 93.36 kB / 0.7632 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.208, allocations: 0 / 0.7632 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.55e-05/0.2081, allocations: 8 kB / 0.7632 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.901e-05/0.2082, allocations: 3.984 kB / 0.7632 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.2082, allocations: 7.984 kB / 0.7632 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.7e-05/0.2082, allocations: 103.6 kB / 0.7633 GB, free: 12 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2082, allocations: 0 / 0.7633 GB, free: 12 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002168/0.2085, allocations: 8 kB / 0.7633 GB, free: 11.99 MB / 0.5762 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 0.0001159/0.2086, allocations: 99.19 kB / 0.7634 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002097/0.2088, allocations: 51.84 kB / 0.7635 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2088, allocations: 0 / 0.7635 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.45e-05/0.2089, allocations: 19.92 kB / 0.7635 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002075/0.2091, allocations: 4.328 kB / 0.7635 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000422/0.2095, allocations: 202.3 kB / 0.7637 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.2098, allocations: 0.6885 MB / 0.7644 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.572e-05/0.2098, allocations: 7.438 kB / 0.7644 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of SimCode: time 3.3e-07/0.2098, allocations: 4 kB / 0.7644 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of Templates: time 0.002196/0.212, allocations: 0.6976 MB / 0.7651 GB, free: 10.16 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.523979833815247] Failed to read output from testmodel.py, exit status != 0: 0.219498140970245 0.23278035100000002 0.025959865000000002 Calling exit ...