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.00159/0.00159, allocations: 107.7 kB / 18.89 MB, free: 2.875 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.00163/0.00163, allocations: 201.4 kB / 22.17 MB, free: 5.188 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.358/1.358, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.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.033/1.033, allocations: 175.8 MB / 481.9 MB, free: 7.699 MB / 382.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.001931/0.001931, allocations: 67.7 kB / 0.6705 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5385/0.5404, allocations: 94.53 MB / 0.7628 GB, free: 9.961 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002422/0.5428, allocations: 1.52 MB / 0.7643 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0005809/0.5434, allocations: 418.2 kB / 0.7647 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.047e-05/0.5435, allocations: 2.75 kB / 0.7647 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.08e-05/0.5435, allocations: 5.156 kB / 0.7647 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.302e-05/0.5435, allocations: 15.38 kB / 0.7647 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000168/0.5437, allocations: 16.81 kB / 0.7647 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.627e-05/0.5438, allocations: 52.59 kB / 0.7648 GB, free: 9.145 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.722e-05/0.5439, allocations: 9.625 kB / 0.7648 GB, free: 9.141 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 9.371e-05/0.544, allocations: 25.3 kB / 0.7648 GB, free: 9.129 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.095e-05/0.5441, allocations: 29.73 kB / 0.7649 GB, free: 9.113 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.5441, allocations: 2.969 kB / 0.7649 GB, free: 9.113 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.096e-05/0.5441, allocations: 5.438 kB / 0.7649 GB, free: 9.113 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.728e-05/0.5441, allocations: 6.844 kB / 0.7649 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.072e-05/0.5441, allocations: 23.8 kB / 0.7649 GB, free: 9.094 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 9.925e-05/0.5442, allocations: 48.55 kB / 0.7649 GB, free: 9.078 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.5442, allocations: 1.094 kB / 0.7649 GB, free: 9.078 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.182e-06/0.5442, allocations: 0 / 0.7649 GB, free: 9.078 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.5443, allocations: 0.8438 kB / 0.7649 GB, free: 9.078 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.0004126/0.5447, allocations: 364.2 kB / 0.7653 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.5447, allocations: 10.25 kB / 0.7653 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.505e-05/0.5447, allocations: 7.562 kB / 0.7653 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.732e-05/0.5448, allocations: 179.9 kB / 0.7655 GB, free: 8.496 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.5448, allocations: 2.625 kB / 0.7655 GB, free: 8.496 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.5448, allocations: 4.969 kB / 0.7655 GB, free: 8.492 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.545, allocations: 55.95 kB / 0.7655 GB, free: 8.453 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.545, allocations: 0.8438 kB / 0.7655 GB, free: 8.453 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.545, allocations: 5.469 kB / 0.7655 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.545, allocations: 0.8125 kB / 0.7655 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001246/0.5451, allocations: 41.98 kB / 0.7656 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003234/0.5455, allocations: 274.3 kB / 0.7658 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.5456, allocations: 38.05 kB / 0.7659 GB, free: 8.125 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.036e-05/0.5456, allocations: 27.33 kB / 0.7659 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.5457, allocations: 0.5625 kB / 0.7659 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.608e-05/0.5457, allocations: 35.75 kB / 0.7659 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.5457, allocations: 0 / 0.7659 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0002991/0.546, allocations: 87.02 kB / 0.766 GB, free: 8.023 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.791e-05/0.546, allocations: 56.59 kB / 0.7661 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.485e-05/0.5461, allocations: 122.3 kB / 0.7662 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.893e-06/0.5461, allocations: 25.7 kB / 0.7662 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.694e-05/0.5461, allocations: 88.42 kB / 0.7663 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.624e-05/0.5461, allocations: 9.578 kB / 0.7663 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.76e-05/0.5461, allocations: 17.77 kB / 0.7663 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.839e-05/0.5462, allocations: 319.4 kB / 0.7666 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.42e-05/0.5463, allocations: 17.58 kB / 0.7667 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.307e-05/0.5463, allocations: 21.59 kB / 0.7667 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/0.5464, allocations: 46.03 kB / 0.7667 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.5464, allocations: 0 / 0.7667 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001583/0.5466, allocations: 72.97 kB / 0.7668 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.5466, allocations: 5.75 kB / 0.7668 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.5466, allocations: 0.75 kB / 0.7668 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.5466, allocations: 4 kB / 0.7668 GB, free: 7.309 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.25e-05/0.5467, allocations: 9.766 kB / 0.7668 GB, free: 7.309 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.5467, allocations: 2.5 kB / 0.7668 GB, free: 7.309 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.932e-05/0.5468, allocations: 4.609 kB / 0.7668 GB, free: 7.309 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.5468, allocations: 5.641 kB / 0.7668 GB, free: 7.305 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 4.385e-05/0.5468, allocations: 116.7 kB / 0.7669 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.496e-05/0.5468, allocations: 2.922 kB / 0.7669 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.267e-05/0.5469, allocations: 6.547 kB / 0.7669 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.5469, allocations: 5.594 kB / 0.7669 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.5469, allocations: 0 / 0.7669 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.5469, allocations: 0.5625 kB / 0.7669 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/0.547, allocations: 178.4 kB / 0.7671 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.547, allocations: 0.6094 kB / 0.7671 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.721e-05/0.5471, allocations: 11.45 kB / 0.7671 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.5471, allocations: 0 / 0.7671 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.5471, allocations: 6.266 kB / 0.7671 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.5471, allocations: 0 / 0.7671 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5471, allocations: 0.6094 kB / 0.7671 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001861/0.5473, allocations: 178 kB / 0.7673 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.916e-05/0.5473, allocations: 82.94 kB / 0.7674 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.5473, allocations: 0.7969 kB / 0.7674 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.044e-05/0.5474, allocations: 5.078 kB / 0.7674 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.997e-05/0.5474, allocations: 6.891 kB / 0.7674 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.5474, allocations: 5.094 kB / 0.7674 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.957e-05/0.5475, allocations: 105.5 kB / 0.7675 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.5475, allocations: 0 / 0.7675 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002111/0.5477, allocations: 8.062 kB / 0.7675 GB, free: 6.617 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 7.841e-05/0.5477, allocations: 96.45 kB / 0.7676 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001788/0.5479, allocations: 39.44 kB / 0.7676 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.5479, allocations: 0 / 0.7676 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.845e-05/0.548, allocations: 21.62 kB / 0.7677 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001995/0.5482, allocations: 9.062 kB / 0.7677 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003686/0.5486, allocations: 207.2 kB / 0.7679 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001062/0.5487, allocations: 0.6832 MB / 0.7685 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.224e-05/0.5487, allocations: 10.34 kB / 0.7685 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of SimCode: time 2.6e-07/0.5487, allocations: 0 / 0.7685 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of Templates: time 0.00208/0.5508, allocations: 0.7086 MB / 0.7692 GB, free: 5.594 MB / 0.5762 GB " [Timeout remaining time 659] 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.152239550836384] Failed to read output from testmodel.py, exit status != 0: 0.5584359932690859 0.569298556 0.022291196000000003 Calling exit ...