Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.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.001452/0.001452, allocations: 113.7 kB / 17.12 MB, free: 5.945 MB / 14.72 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.001525/0.001525, allocations: 208 kB / 20.09 MB, free: 2.996 MB / 14.72 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 1.495/1.495, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9785/0.9785, allocations: 150 MB / 459.5 MB, free: 5.277 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegStep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002034/0.002034, allocations: 67.61 kB / 0.6362 GB, free: 30.48 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1919/0.1939, allocations: 89.13 MB / 0.7232 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.001713/0.1957, allocations: 0.5817 MB / 0.7238 GB, free: 3.387 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002451/0.1959, allocations: 47.84 kB / 0.7238 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.401e-05/0.1959, allocations: 0 / 0.7238 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.432e-05/0.1959, allocations: 0 / 0.7238 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.401e-06/0.1959, allocations: 0 / 0.7238 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002177/0.1962, allocations: 23.92 kB / 0.7238 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 3.898e-05/0.1962, allocations: 0 / 0.7238 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.428e-05/0.1963, allocations: 4 kB / 0.7238 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.062e-05/0.1963, allocations: 0 / 0.7238 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 1.938e-05/0.1963, allocations: 4 kB / 0.7239 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.727e-06/0.1963, allocations: 0 / 0.7239 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.982e-05/0.1964, allocations: 19.97 kB / 0.7239 GB, free: 3.289 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.727e-06/0.1964, allocations: 0 / 0.7239 GB, free: 3.289 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.758e-05/0.1964, allocations: 7.984 kB / 0.7239 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 7.934e-05/0.1965, allocations: 12.27 kB / 0.7239 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1965, allocations: 3.938 kB / 0.7239 GB, free: 3.266 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1965, allocations: 3.938 kB / 0.7239 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.1965, allocations: 0 / 0.7239 GB, free: 3.262 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003192/0.1968, allocations: 319.5 kB / 0.7242 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.1969, allocations: 15.97 kB / 0.7242 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.977e-05/0.1969, allocations: 30.75 kB / 0.7242 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002392/0.1971, allocations: 16.91 kB / 0.7243 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.1973, allocations: 164.4 kB / 0.7244 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.1973, allocations: 4.375 kB / 0.7244 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.205e-06/0.1973, allocations: 384 / 0.7244 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.1974, allocations: 38.25 kB / 0.7245 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.1974, allocations: 7.938 kB / 0.7245 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-06/0.1974, allocations: 0 / 0.7245 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.1974, allocations: 0 / 0.7245 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.088e-05/0.1975, allocations: 7.984 kB / 0.7245 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001522/0.1977, allocations: 145.7 kB / 0.7246 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.408e-05/0.1978, allocations: 30.55 kB / 0.7246 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.629e-05/0.1978, allocations: 13.31 kB / 0.7247 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.1978, allocations: 0 / 0.7247 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.648e-05/0.1979, allocations: 38.55 kB / 0.7247 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.1979, allocations: 0 / 0.7247 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0002312/0.1981, allocations: 49.55 kB / 0.7247 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.1981, allocations: 59.53 kB / 0.7248 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.319e-05/0.1982, allocations: 89.86 kB / 0.7249 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.1982, allocations: 25.7 kB / 0.7249 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.252e-05/0.1982, allocations: 80.14 kB / 0.725 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.929e-05/0.1983, allocations: 7.953 kB / 0.725 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.783e-05/0.1983, allocations: 9.719 kB / 0.725 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.1984, allocations: 314.8 kB / 0.7253 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.838e-05/0.1985, allocations: 3.984 kB / 0.7253 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.053e-05/0.1985, allocations: 8 kB / 0.7253 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/0.1986, allocations: 16.84 kB / 0.7253 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1986, allocations: 0 / 0.7253 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001316/0.1988, allocations: 49.61 kB / 0.7254 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.1988, allocations: 9.562 kB / 0.7254 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1988, allocations: 3.938 kB / 0.7254 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.1988, allocations: 8.031 kB / 0.7254 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.041e-05/0.1989, allocations: 4 kB / 0.7254 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.1989, allocations: 0 / 0.7254 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.062e-05/0.1989, allocations: 0 / 0.7254 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.1989, allocations: 0 / 0.7254 GB, free: 1.484 MB / 0.5294 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 (1): * Single equations (assignments): 1 * 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 8.917e-05/0.199, allocations: 109.8 kB / 0.7255 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.635e-06/0.199, allocations: 7.938 kB / 0.7255 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.316e-05/0.199, allocations: 7.062 kB / 0.7255 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.199, allocations: 4 kB / 0.7255 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.1991, allocations: 0 / 0.7255 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1991, allocations: 0 / 0.7255 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.1992, allocations: 145.7 kB / 0.7257 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.1992, allocations: 0 / 0.7257 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.056e-05/0.1992, allocations: 4 kB / 0.7257 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.1992, allocations: 0 / 0.7257 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.1992, allocations: 3.938 kB / 0.7257 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1992, allocations: 4 kB / 0.7257 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.1992, allocations: 0 / 0.7257 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001735/0.1994, allocations: 77.05 kB / 0.7257 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.452e-05/0.1995, allocations: 77.11 kB / 0.7258 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.1995, allocations: 11.94 kB / 0.7258 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.043e-05/0.1995, allocations: 0 / 0.7258 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.518e-06/0.1995, allocations: 0 / 0.7258 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/0.1995, allocations: 0 / 0.7258 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.78e-05/0.1996, allocations: 79.31 kB / 0.7259 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1996, allocations: 0 / 0.7259 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000185/0.1998, allocations: 11.98 kB / 0.7259 GB, free: 0.8594 MB / 0.5294 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 (1): * Single equations (assignments): 1 * 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.0005179/0.2003, allocations: 0.5968 MB / 0.7265 GB, free: 236 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000145/0.2004, allocations: 19.95 kB / 0.7265 GB, free: 216 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2004, allocations: 0 / 0.7265 GB, free: 216 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 4.614e-05/0.2005, allocations: 7.984 kB / 0.7265 GB, free: 208 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001322/0.2006, allocations: 4 kB / 0.7265 GB, free: 204 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003622/0.201, allocations: 110.6 kB / 0.7266 GB, free: 52 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003263/0.2013, allocations: 0.6691 MB / 0.7273 GB, free: 15.36 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.223e-05/0.2013, allocations: 11.98 kB / 0.7273 GB, free: 15.34 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.622e-05/0.2013, allocations: 7.438 kB / 0.7273 GB, free: 15.34 MB / 0.545 GB Notification: Performance of SimCode: time 5.41e-07/0.2013, allocations: 3.938 kB / 0.7273 GB, free: 15.33 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02501/0.2264, allocations: 0.9498 MB / 0.7282 GB, free: 14.48 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.996/8.223, allocations: 11.75 kB / 0.7283 GB, free: 14.46 MB / 0.545 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegStep.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.121936554089189] Failed to read output from testmodel.py, exit status != 0: 8.29452320211567 8.323790819 8.12202597 Calling exit ...