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.001368/0.001368, allocations: 112.9 kB / 17.54 MB, free: 4.641 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.001417/0.001417, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.323/1.323, allocations: 225.6 MB / 249.3 MB, free: 3.18 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.005/1.005, allocations: 175.7 MB / 480.1 MB, free: 2.758 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: "" <> 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.001778/0.001778, allocations: 64.31 kB / 0.6678 GB, free: 10.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1594, allocations: 94.53 MB / 0.7601 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002802/0.1622, allocations: 1.51 MB / 0.7615 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0007605/0.163, allocations: 423 kB / 0.762 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.165e-05/0.163, allocations: 4 kB / 0.762 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.27e-05/0.1631, allocations: 7.922 kB / 0.762 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.693e-05/0.1631, allocations: 11.86 kB / 0.762 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001641/0.1633, allocations: 15.98 kB / 0.762 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.819e-05/0.1634, allocations: 59.72 kB / 0.762 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.898e-05/0.1635, allocations: 11.94 kB / 0.7621 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.1636, allocations: 23.91 kB / 0.7621 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.053e-05/0.1637, allocations: 23.91 kB / 0.7621 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.037e-05/0.1637, allocations: 4 kB / 0.7621 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.339e-05/0.1637, allocations: 4 kB / 0.7621 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.848e-05/0.1638, allocations: 7.938 kB / 0.7621 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.902e-05/0.1638, allocations: 27.86 kB / 0.7621 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001102/0.1639, allocations: 43.81 kB / 0.7622 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1639, allocations: 3.938 kB / 0.7622 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.974e-06/0.1639, allocations: 4 kB / 0.7622 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.1639, allocations: 0 / 0.7622 GB, free: 14.64 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.0005535/0.1645, allocations: 363.2 kB / 0.7625 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.1645, allocations: 12.03 kB / 0.7626 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.911e-05/0.1646, allocations: 38.69 kB / 0.7626 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.032e-05/0.1646, allocations: 8.891 kB / 0.7626 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.1647, allocations: 164.3 kB / 0.7628 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.1647, allocations: 8.125 kB / 0.7628 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/0.1648, allocations: 4 kB / 0.7628 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.1649, allocations: 53.67 kB / 0.7628 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.1649, allocations: 4 kB / 0.7628 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.165, allocations: 0 / 0.7628 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.165, allocations: 0 / 0.7628 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001321/0.1651, allocations: 39.89 kB / 0.7629 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004118/0.1655, allocations: 280.8 kB / 0.7631 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.1656, allocations: 46.55 kB / 0.7632 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.413e-05/0.1657, allocations: 20.94 kB / 0.7632 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.601e-05/0.1657, allocations: 0 / 0.7632 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.1658, allocations: 34.56 kB / 0.7632 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.1658, allocations: 0 / 0.7632 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.000331/0.1661, allocations: 89.59 kB / 0.7633 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/0.1661, allocations: 51.41 kB / 0.7634 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.1662, allocations: 117.8 kB / 0.7635 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.1663, allocations: 29.7 kB / 0.7635 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.861e-05/0.1663, allocations: 92.09 kB / 0.7636 GB, free: 13 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.857e-05/0.1663, allocations: 3.953 kB / 0.7636 GB, free: 13 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.119e-05/0.1664, allocations: 21.7 kB / 0.7636 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.1665, allocations: 318.8 kB / 0.7639 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.357e-05/0.1666, allocations: 23.98 kB / 0.7639 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.034e-05/0.1667, allocations: 19.92 kB / 0.764 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.1668, allocations: 44.77 kB / 0.764 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1668, allocations: 0 / 0.764 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001801/0.167, allocations: 77.62 kB / 0.7641 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.167, allocations: 4 kB / 0.7641 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.167, allocations: 0 / 0.7641 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.167, allocations: 3.984 kB / 0.7641 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.654e-05/0.1671, allocations: 8 kB / 0.7641 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.1671, allocations: 0 / 0.7641 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.545e-05/0.1672, allocations: 11.92 kB / 0.7641 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.1672, allocations: 0 / 0.7641 GB, free: 12.45 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.161e-05/0.1673, allocations: 109.8 kB / 0.7642 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.559e-05/0.1673, allocations: 4 kB / 0.7642 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.196e-05/0.1673, allocations: 11.91 kB / 0.7642 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1673, allocations: 0 / 0.7642 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.1673, allocations: 0 / 0.7642 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.1673, allocations: 7.922 kB / 0.7642 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001899/0.1675, allocations: 177.5 kB / 0.7644 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.1675, allocations: 7.938 kB / 0.7644 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.741e-05/0.1676, allocations: 7.984 kB / 0.7644 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1676, allocations: 0 / 0.7644 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.1676, allocations: 4 kB / 0.7644 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1676, allocations: 4 kB / 0.7644 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1676, allocations: 0 / 0.7644 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002372/0.1678, allocations: 167.8 kB / 0.7646 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.104e-05/0.1679, allocations: 85.06 kB / 0.7647 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.1679, allocations: 0 / 0.7647 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.818e-05/0.168, allocations: 4.047 kB / 0.7647 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.893e-05/0.168, allocations: 11.97 kB / 0.7647 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.168, allocations: 3.938 kB / 0.7647 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.014e-05/0.1681, allocations: 99.64 kB / 0.7648 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1681, allocations: 0 / 0.7648 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002193/0.1683, allocations: 15.94 kB / 0.7648 GB, free: 11.64 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.0005754/0.1689, allocations: 0.7045 MB / 0.7655 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001849/0.1691, allocations: 35.97 kB / 0.7655 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1691, allocations: 0 / 0.7655 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.096e-05/0.1692, allocations: 27.92 kB / 0.7655 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002036/0.1694, allocations: 3.938 kB / 0.7655 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000541/0.1699, allocations: 202.3 kB / 0.7657 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.1702, allocations: 0.6807 MB / 0.7664 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.408e-05/0.1703, allocations: 4 kB / 0.7664 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.172e-05/0.1703, allocations: 19.42 kB / 0.7664 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of SimCode: time 5.71e-07/0.1703, allocations: 0 / 0.7664 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02586/0.1962, allocations: 1.476 MB / 0.7679 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.991/7.187, allocations: 7.516 kB / 0.7679 GB, free: 8.48 MB / 0.5762 GB " [Timeout remaining time 653] (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: 10.753376111999387]