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.00185/0.001849, allocations: 109.6 kB / 16.41 MB, free: 6.508 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.002069/0.002069, allocations: 191.7 kB / 19.35 MB, free: 3.734 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.433/1.433, allocations: 222.9 MB / 245.1 MB, free: 15.02 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.023/1.023, allocations: 173.4 MB / 470.6 MB, free: 13.65 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: "" <> buildModelFMU(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 71.09 kB / 0.6478 GB, free: 11.8 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.2116, allocations: 89.51 MB / 0.7352 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.003608/0.2152, allocations: 1.494 MB / 0.7366 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0008717/0.2161, allocations: 411.1 kB / 0.737 GB, free: 404 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.229e-05/0.2162, allocations: 0 / 0.737 GB, free: 404 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.27e-05/0.2163, allocations: 7.922 kB / 0.737 GB, free: 396 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.956e-05/0.2164, allocations: 11.86 kB / 0.7371 GB, free: 384 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002034/0.2166, allocations: 23.92 kB / 0.7371 GB, free: 360 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.2167, allocations: 55.78 kB / 0.7371 GB, free: 304 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.2168, allocations: 12.19 kB / 0.7371 GB, free: 292 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.217, allocations: 31.84 kB / 0.7372 GB, free: 260 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.879e-05/0.2171, allocations: 23.91 kB / 0.7372 GB, free: 236 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/0.2171, allocations: 4 kB / 0.7372 GB, free: 232 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.388e-05/0.2171, allocations: 7.938 kB / 0.7372 GB, free: 224 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.14e-05/0.2172, allocations: 7.938 kB / 0.7372 GB, free: 216 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.583e-05/0.2172, allocations: 23.86 kB / 0.7372 GB, free: 192 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001208/0.2173, allocations: 43.81 kB / 0.7373 GB, free: 148 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.2173, allocations: 4 kB / 0.7373 GB, free: 144 kB / 0.5606 GB Notification: Performance of FrontEnd: time 2.284e-06/0.2174, allocations: 0 / 0.7373 GB, free: 144 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.2174, allocations: 0 / 0.7373 GB, free: 144 kB / 0.5606 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.0006298/0.218, allocations: 367.2 kB / 0.7376 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.218, allocations: 8.031 kB / 0.7376 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.947e-05/0.2181, allocations: 34.75 kB / 0.7377 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.116e-05/0.2181, allocations: 4.891 kB / 0.7377 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.2183, allocations: 176.2 kB / 0.7378 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.2183, allocations: 8.125 kB / 0.7379 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.508e-05/0.2184, allocations: 8 kB / 0.7379 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001866/0.2186, allocations: 49.67 kB / 0.7379 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.2186, allocations: 0 / 0.7379 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.2186, allocations: 0 / 0.7379 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.2186, allocations: 8 kB / 0.7379 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001403/0.2188, allocations: 35.97 kB / 0.738 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004762/0.2192, allocations: 284.7 kB / 0.7382 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001359/0.2194, allocations: 38.55 kB / 0.7383 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.803e-05/0.2195, allocations: 24.94 kB / 0.7383 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.2195, allocations: 0 / 0.7383 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/0.2195, allocations: 38.56 kB / 0.7383 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.2196, allocations: 4 kB / 0.7383 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.0003493/0.2199, allocations: 81.59 kB / 0.7384 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.22, allocations: 51.41 kB / 0.7385 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.2201, allocations: 121.8 kB / 0.7386 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.2201, allocations: 25.7 kB / 0.7386 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.048e-05/0.2202, allocations: 88.14 kB / 0.7387 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.2202, allocations: 11.91 kB / 0.7387 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.093e-05/0.2203, allocations: 21.7 kB / 0.7387 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.2204, allocations: 318.8 kB / 0.739 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.376e-05/0.2205, allocations: 19.98 kB / 0.739 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.962e-05/0.2206, allocations: 11.98 kB / 0.739 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.2207, allocations: 40.83 kB / 0.7391 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2207, allocations: 0 / 0.7391 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001949/0.2209, allocations: 81.56 kB / 0.7392 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.221, allocations: 4 kB / 0.7392 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.221, allocations: 0 / 0.7392 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.221, allocations: 3.984 kB / 0.7392 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.2211, allocations: 11.94 kB / 0.7392 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.2211, allocations: 3.984 kB / 0.7392 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.027e-05/0.2212, allocations: 16.19 kB / 0.7392 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.2212, allocations: 0 / 0.7392 GB, free: 13.95 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 0.0001031/0.2213, allocations: 117.8 kB / 0.7393 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.533e-05/0.2213, allocations: 0 / 0.7393 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.473e-05/0.2214, allocations: 15.89 kB / 0.7393 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.2214, allocations: 0 / 0.7393 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.2214, allocations: 0 / 0.7393 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.2214, allocations: 7.922 kB / 0.7393 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002108/0.2216, allocations: 165.7 kB / 0.7395 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.2216, allocations: 4 kB / 0.7395 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.456e-05/0.2217, allocations: 7.984 kB / 0.7395 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.2217, allocations: 4 kB / 0.7395 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.2218, allocations: 4 kB / 0.7395 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.2218, allocations: 0 / 0.7395 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.2218, allocations: 0 / 0.7395 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002526/0.222, allocations: 171.3 kB / 0.7397 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.289e-05/0.2221, allocations: 85.06 kB / 0.7398 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.2221, allocations: 0 / 0.7398 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.221e-05/0.2222, allocations: 16 kB / 0.7398 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.753e-05/0.2222, allocations: 3.984 kB / 0.7398 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.2223, allocations: 3.938 kB / 0.7398 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.338e-05/0.2223, allocations: 95.27 kB / 0.7399 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2223, allocations: 0 / 0.7399 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002142/0.2226, allocations: 8 kB / 0.7399 GB, free: 13.14 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.0006135/0.2232, allocations: 0.7046 MB / 0.7406 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001928/0.2234, allocations: 39.97 kB / 0.7406 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2234, allocations: 0 / 0.7406 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.507e-05/0.2235, allocations: 19.98 kB / 0.7406 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002131/0.2237, allocations: 15.86 kB / 0.7406 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005654/0.2243, allocations: 198.3 kB / 0.7408 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003493/0.2246, allocations: 0.6807 MB / 0.7415 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.773e-05/0.2247, allocations: 4 kB / 0.7415 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.208e-05/0.2247, allocations: 23.36 kB / 0.7415 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of SimCode: time 2.41e-07/0.2247, allocations: 0 / 0.7415 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02448/0.2492, allocations: 1.495 MB / 0.743 GB, free: 9.992 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.649/7.899, allocations: 18.36 kB / 0.743 GB, free: 9.98 MB / 0.5762 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc.fmu > IDEAS_dev_IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.053927288972773] Failed to read output from testmodel.py, exit status != 0: 7.965823265956715 8.300816429 8.080227798 Calling exit ...