Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001324/0.001324, allocations: 110.6 kB / 18.32 MB, free: 3.941 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.001367/0.001367, allocations: 189.9 kB / 21.5 MB, free: 0.7734 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.418/1.418, allocations: 225.6 MB / 250.1 MB, free: 3.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8209/0.8209, allocations: 128.4 MB / 433.6 MB, free: 13.25 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 67.89 kB / 0.6004 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4572/0.4592, allocations: 83.27 MB / 0.6817 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002718/0.462, allocations: 1.513 MB / 0.6832 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000592/0.4626, allocations: 419.8 kB / 0.6836 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.286e-05/0.4626, allocations: 5.406 kB / 0.6836 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.068e-05/0.4626, allocations: 7.922 kB / 0.6836 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.975e-05/0.4627, allocations: 13.14 kB / 0.6836 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000163/0.4629, allocations: 18.27 kB / 0.6836 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.463, allocations: 52.41 kB / 0.6837 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.798e-05/0.4631, allocations: 7.469 kB / 0.6837 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.497e-05/0.4631, allocations: 30.16 kB / 0.6837 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.936e-05/0.4632, allocations: 23.62 kB / 0.6837 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.4632, allocations: 2.969 kB / 0.6837 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.344e-05/0.4633, allocations: 8.094 kB / 0.6837 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.798e-05/0.4633, allocations: 8.906 kB / 0.6837 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.049e-05/0.4633, allocations: 25.83 kB / 0.6838 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001015/0.4634, allocations: 45.88 kB / 0.6838 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4634, allocations: 0.9375 kB / 0.6838 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4634, allocations: 0 / 0.6838 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.13e-05/0.4634, allocations: 0 / 0.6838 GB, free: 5.062 MB / 0.4981 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.0004539/0.4639, allocations: 361.1 kB / 0.6842 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.4639, allocations: 9.125 kB / 0.6842 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.157e-05/0.464, allocations: 44.06 kB / 0.6842 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.439e-05/0.464, allocations: 6.953 kB / 0.6842 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.892e-05/0.4641, allocations: 176.2 kB / 0.6844 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.4641, allocations: 5.344 kB / 0.6844 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.4641, allocations: 5.141 kB / 0.6844 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.4643, allocations: 56.52 kB / 0.6845 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.4643, allocations: 0 / 0.6845 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.4643, allocations: 0 / 0.6845 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.4643, allocations: 0 / 0.6845 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/0.4644, allocations: 35.88 kB / 0.6845 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003177/0.4647, allocations: 269.8 kB / 0.6847 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.4648, allocations: 48.92 kB / 0.6848 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.915e-05/0.4649, allocations: 23.81 kB / 0.6848 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.4649, allocations: 4 kB / 0.6848 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.712e-05/0.4649, allocations: 31.81 kB / 0.6848 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.4649, allocations: 0 / 0.6848 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0002991/0.4652, allocations: 92.3 kB / 0.6849 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/0.4653, allocations: 51.41 kB / 0.685 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.253e-05/0.4653, allocations: 116.4 kB / 0.6851 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/0.4653, allocations: 30.77 kB / 0.6851 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.662e-05/0.4654, allocations: 90.27 kB / 0.6852 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.077e-05/0.4654, allocations: 16.89 kB / 0.6852 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.075e-05/0.4654, allocations: 21.39 kB / 0.6852 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.116e-05/0.4655, allocations: 316.1 kB / 0.6855 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.198e-05/0.4655, allocations: 17.23 kB / 0.6856 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.33e-05/0.4656, allocations: 18.61 kB / 0.6856 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/0.4657, allocations: 45.3 kB / 0.6856 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.4657, allocations: 0 / 0.6856 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001531/0.4659, allocations: 66.92 kB / 0.6857 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.4659, allocations: 5.906 kB / 0.6857 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.4659, allocations: 3.938 kB / 0.6857 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.4659, allocations: 5.578 kB / 0.6857 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.399e-05/0.466, allocations: 9.531 kB / 0.6857 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.466, allocations: 1 kB / 0.6857 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.742e-05/0.4661, allocations: 15.27 kB / 0.6857 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.4661, allocations: 0.9688 kB / 0.6857 GB, free: 3.125 MB / 0.4981 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.532e-05/0.4661, allocations: 111.9 kB / 0.6858 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.527e-05/0.4661, allocations: 6.141 kB / 0.6858 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.362e-05/0.4662, allocations: 10.22 kB / 0.6859 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.4662, allocations: 0 / 0.6859 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.4662, allocations: 5 kB / 0.6859 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.4662, allocations: 8.25 kB / 0.6859 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001199/0.4663, allocations: 170.2 kB / 0.686 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.4663, allocations: 1.125 kB / 0.686 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.164e-05/0.4664, allocations: 10.48 kB / 0.686 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.4664, allocations: 1.125 kB / 0.686 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.4664, allocations: 0 / 0.686 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.4664, allocations: 1.094 kB / 0.686 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.4664, allocations: 3.984 kB / 0.686 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001782/0.4666, allocations: 182.3 kB / 0.6862 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.948e-05/0.4666, allocations: 78.27 kB / 0.6863 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.4666, allocations: 1.156 kB / 0.6863 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.398e-05/0.4667, allocations: 3.344 kB / 0.6863 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.818e-05/0.4667, allocations: 5.047 kB / 0.6863 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.4667, allocations: 5.062 kB / 0.6863 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.623e-05/0.4667, allocations: 96.42 kB / 0.6864 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.4667, allocations: 1.156 kB / 0.6864 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002105/0.4669, allocations: 14.42 kB / 0.6864 GB, free: 2.402 MB / 0.4981 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.000344/0.4673, allocations: 0.6967 MB / 0.6871 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001809/0.4675, allocations: 38.69 kB / 0.6871 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.4675, allocations: 5.062 kB / 0.6871 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.693e-05/0.4675, allocations: 20.36 kB / 0.6872 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002112/0.4678, allocations: 6.281 kB / 0.6872 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004806/0.4682, allocations: 204 kB / 0.6874 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001172/0.4684, allocations: 0.6822 MB / 0.688 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.32e-05/0.4684, allocations: 5.375 kB / 0.688 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.991e-05/0.4684, allocations: 20.83 kB / 0.688 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of SimCode: time 3.01e-07/0.4684, allocations: 0 / 0.688 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02321/0.4916, allocations: 1.484 MB / 0.6895 GB, free: 15.96 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.808/8.3, allocations: 10.77 kB / 0.6895 GB, free: 15.96 MB / 0.5138 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc.fmu > IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.557963211002061] Failed to read output from testmodel.py, exit status != 0: 8.366236467001727 8.388470084 7.920676202 Calling exit ...