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.0006658/0.0006658, allocations: 105.5 kB / 18.95 MB, free: 1.184 MB / 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.0007867/0.0007867, allocations: 206.6 kB / 22.24 MB, free: 3.582 MB / 13.93 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.9607/0.9607, allocations: 230.6 MB / 256 MB, free: 9.621 MB / 202.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.8018/0.8018, allocations: 203.5 MB / 0.5039 GB, free: 10.79 MB / 410.7 MB " [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: "" <> buildModelFMU(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="IDEAS_IDEAS_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="IDEAS_IDEAS_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",fmuType="me",version="2.0",platforms={"static"}) [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.0008965/0.0008965, allocations: 65.92 kB / 0.7178 GB, free: 4.406 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.552/0.5529, allocations: 102 MB / 0.8174 GB, free: 1.227 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.001889/0.5548, allocations: 1.519 MB / 0.8189 GB, free: 188 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005642/0.5554, allocations: 463.5 kB / 0.8193 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.539e-05/0.5554, allocations: 6.656 kB / 0.8193 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.558e-05/0.5554, allocations: 5.297 kB / 0.8193 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.134e-05/0.5555, allocations: 14.36 kB / 0.8193 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001925/0.5557, allocations: 27.27 kB / 0.8194 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.406e-05/0.5558, allocations: 53.45 kB / 0.8194 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.169e-05/0.5559, allocations: 17.66 kB / 0.8194 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.556, allocations: 33.02 kB / 0.8195 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.3e-05/0.556, allocations: 25.75 kB / 0.8195 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.556, allocations: 2.406 kB / 0.8195 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.742e-05/0.5561, allocations: 9.25 kB / 0.8195 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.336e-05/0.5561, allocations: 9.344 kB / 0.8195 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.672e-05/0.5561, allocations: 22.84 kB / 0.8195 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001114/0.5562, allocations: 50.16 kB / 0.8196 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.5562, allocations: 1.438 kB / 0.8196 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.344e-06/0.5562, allocations: 0.7031 kB / 0.8196 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.5562, allocations: 4 kB / 0.8196 GB, free: 15.75 MB / 0.6198 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.0003879/0.5566, allocations: 291.1 kB / 0.8199 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.5567, allocations: 12.59 kB / 0.8199 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.055e-05/0.5567, allocations: 35.27 kB / 0.8199 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000133/0.5568, allocations: 24.48 kB / 0.8199 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.557, allocations: 129.2 kB / 0.8201 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-06/0.557, allocations: 7.875 kB / 0.8201 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.255e-06/0.557, allocations: 0.9844 kB / 0.8201 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.5571, allocations: 61.03 kB / 0.8201 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.5571, allocations: 4.641 kB / 0.8201 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.5571, allocations: 3.984 kB / 0.8201 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.5571, allocations: 0 / 0.8201 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.925e-05/0.5572, allocations: 39.7 kB / 0.8202 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002872/0.5575, allocations: 245.8 kB / 0.8204 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.459e-05/0.5576, allocations: 35.14 kB / 0.8204 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.433e-05/0.5576, allocations: 28.92 kB / 0.8205 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.5577, allocations: 0 / 0.8205 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.932e-05/0.5577, allocations: 34.33 kB / 0.8205 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 6.52e-07/0.5577, allocations: 0 / 0.8205 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0002208/0.5579, allocations: 88.12 kB / 0.8206 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/0.5579, allocations: 55.89 kB / 0.8206 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.529e-05/0.558, allocations: 118.1 kB / 0.8207 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.528e-06/0.558, allocations: 25.7 kB / 0.8208 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.939e-05/0.5581, allocations: 101.5 kB / 0.8209 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.744e-05/0.5581, allocations: 8 kB / 0.8209 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.436e-05/0.5581, allocations: 11.22 kB / 0.8209 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.757e-05/0.5582, allocations: 326.4 kB / 0.8212 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.238e-05/0.5582, allocations: 14.72 kB / 0.8212 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.933e-05/0.5583, allocations: 17.47 kB / 0.8212 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.537e-05/0.5583, allocations: 38.58 kB / 0.8213 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.5583, allocations: 0 / 0.8213 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001029/0.5584, allocations: 81.08 kB / 0.8213 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.5585, allocations: 7.25 kB / 0.8213 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.5585, allocations: 1.844 kB / 0.8214 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.5585, allocations: 0.6094 kB / 0.8214 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.521e-05/0.5585, allocations: 8.719 kB / 0.8214 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.5585, allocations: 3.219 kB / 0.8214 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.487e-05/0.5586, allocations: 4.172 kB / 0.8214 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.5586, allocations: 4 kB / 0.8214 GB, free: 14.12 MB / 0.6198 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 5.597e-05/0.5586, allocations: 117.9 kB / 0.8215 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.632e-05/0.5586, allocations: 13.25 kB / 0.8215 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.094e-05/0.5587, allocations: 9.125 kB / 0.8215 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.5587, allocations: 1.75 kB / 0.8215 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.5587, allocations: 0 / 0.8215 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.5587, allocations: 0.6562 kB / 0.8215 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/0.5588, allocations: 143.4 kB / 0.8216 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.5588, allocations: 0.6094 kB / 0.8216 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.889e-05/0.5588, allocations: 6.625 kB / 0.8217 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.5588, allocations: 5.938 kB / 0.8217 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.5588, allocations: 4.703 kB / 0.8217 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.5588, allocations: 3.938 kB / 0.8217 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.5588, allocations: 6.156 kB / 0.8217 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001348/0.559, allocations: 169.2 kB / 0.8218 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.048e-05/0.559, allocations: 14.67 kB / 0.8218 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.958e-06/0.559, allocations: 2.344 kB / 0.8218 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.008e-05/0.559, allocations: 5.188 kB / 0.8219 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.308e-05/0.5591, allocations: 2.297 kB / 0.8219 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.5591, allocations: 1.625 kB / 0.8219 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.142e-05/0.5591, allocations: 102.7 kB / 0.822 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.1e-08/0.5591, allocations: 0 / 0.822 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.00015/0.5593, allocations: 11.47 kB / 0.822 GB, free: 13.55 MB / 0.6198 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.0003054/0.5596, allocations: 0.6992 MB / 0.8226 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000125/0.5597, allocations: 40.41 kB / 0.8227 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.5597, allocations: 0 / 0.8227 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.988e-05/0.5597, allocations: 28.69 kB / 0.8227 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001539/0.5599, allocations: 3.547 kB / 0.8227 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009612/0.5608, allocations: 1.37 MB / 0.8241 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.059e-05/0.5609, allocations: 73.62 kB / 0.8241 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.905e-05/0.5609, allocations: 2.062 kB / 0.8241 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.012e-05/0.561, allocations: 18.86 kB / 0.8241 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of SimCode: time 2.6e-07/0.561, allocations: 1 kB / 0.8241 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01432/0.5753, allocations: 2.056 MB / 0.8262 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.594/7.169, allocations: 8.922 kB / 0.8262 GB, free: 10.67 MB / 0.6198 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 IDEAS_IDEAS_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc.fmu > IDEAS_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.220678851939738] Failed to read output from testmodel.py, exit status != 0: 7.2438575234264135 7.256354101 6.698189377 Calling exit ...