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.001578/0.001578, allocations: 113.9 kB / 19.7 MB, free: 2.207 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.001594/0.001594, allocations: 223.5 kB / 23.01 MB, free: 5.074 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.482/1.482, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.9835/0.9835, allocations: 150 MB / 463.2 MB, free: 10.52 MB / 366.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.002012/0.002012, allocations: 65.92 kB / 0.6413 GB, free: 10.37 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1811/0.1831, allocations: 89.18 MB / 0.7284 GB, free: 1.25 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.0018/0.1849, allocations: 0.5793 MB / 0.729 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002823/0.1852, allocations: 55.72 kB / 0.729 GB, free: 0.6211 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.926e-05/0.1852, allocations: 0 / 0.729 GB, free: 0.6211 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.904e-05/0.1853, allocations: 0 / 0.729 GB, free: 0.6211 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.941e-06/0.1853, allocations: 3.938 kB / 0.729 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002503/0.1855, allocations: 23.91 kB / 0.729 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.005e-05/0.1856, allocations: 4 kB / 0.729 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.536e-05/0.1856, allocations: 4 kB / 0.729 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.302e-05/0.1856, allocations: 0 / 0.729 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.764e-05/0.1857, allocations: 4 kB / 0.729 GB, free: 0.582 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.065e-05/0.1857, allocations: 0 / 0.729 GB, free: 0.582 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000103/0.1858, allocations: 15.98 kB / 0.7291 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.129e-05/0.1858, allocations: 0 / 0.7291 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.464e-05/0.1858, allocations: 0 / 0.7291 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.183e-05/0.1859, allocations: 23.95 kB / 0.7291 GB, free: 0.543 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1859, allocations: 0 / 0.7291 GB, free: 0.543 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.753e-06/0.1859, allocations: 0 / 0.7291 GB, free: 0.543 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.287e-06/0.1859, allocations: 0 / 0.7291 GB, free: 0.543 MB / 0.545 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.0002978/0.1862, allocations: 242.7 kB / 0.7293 GB, free: 280 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.1862, allocations: 12.03 kB / 0.7293 GB, free: 268 kB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.434e-05/0.1863, allocations: 30.75 kB / 0.7294 GB, free: 228 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002479/0.1865, allocations: 20.91 kB / 0.7294 GB, free: 208 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.627e-05/0.1866, allocations: 106.5 kB / 0.7295 GB, free: 76 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.184e-06/0.1866, allocations: 384 / 0.7295 GB, free: 76 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.1866, allocations: 8.312 kB / 0.7295 GB, free: 68 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.1868, allocations: 42.19 kB / 0.7295 GB, free: 20 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.1868, allocations: 3.938 kB / 0.7295 GB, free: 16 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-06/0.1868, allocations: 0 / 0.7295 GB, free: 16 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.1868, allocations: 0 / 0.7295 GB, free: 16 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.373e-05/0.1869, allocations: 7.984 kB / 0.7295 GB, free: 8 kB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001621/0.187, allocations: 120.8 kB / 0.7297 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.156e-05/0.1871, allocations: 22.59 kB / 0.7297 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.997e-05/0.1872, allocations: 8.859 kB / 0.7297 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.1872, allocations: 4.062 kB / 0.7297 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.1872, allocations: 38.48 kB / 0.7297 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.1872, allocations: 0 / 0.7297 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0002354/0.1875, allocations: 49.62 kB / 0.7298 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.1875, allocations: 51.53 kB / 0.7298 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.325e-05/0.1875, allocations: 93.86 kB / 0.7299 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.1876, allocations: 25.7 kB / 0.7299 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.137e-05/0.1876, allocations: 80.14 kB / 0.73 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.887e-05/0.1876, allocations: 3.953 kB / 0.73 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.491e-05/0.1877, allocations: 17.7 kB / 0.73 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.1878, allocations: 314.8 kB / 0.7303 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.759e-05/0.1878, allocations: 8 kB / 0.7303 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.567e-05/0.1879, allocations: 7.984 kB / 0.7303 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.571e-05/0.188, allocations: 20.78 kB / 0.7304 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.188, allocations: 0 / 0.7304 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000125/0.1881, allocations: 41.69 kB / 0.7304 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.1881, allocations: 4 kB / 0.7304 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.1881, allocations: 3.938 kB / 0.7304 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.1881, allocations: 4.078 kB / 0.7304 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.023e-05/0.1882, allocations: 11.98 kB / 0.7304 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.1882, allocations: 0 / 0.7304 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.186e-05/0.1882, allocations: 0 / 0.7304 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-06/0.1882, allocations: 0 / 0.7304 GB, free: 14.97 MB / 0.5606 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 7.558e-05/0.1883, allocations: 109.8 kB / 0.7305 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.883e-06/0.1883, allocations: 0 / 0.7305 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.295e-05/0.1884, allocations: 10.94 kB / 0.7305 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.1884, allocations: 0 / 0.7305 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.1884, allocations: 11.92 kB / 0.7306 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.013e-06/0.1884, allocations: 0 / 0.7306 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.649e-05/0.1885, allocations: 116.8 kB / 0.7307 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1885, allocations: 0 / 0.7307 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.428e-05/0.1885, allocations: 11.92 kB / 0.7307 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.1885, allocations: 0 / 0.7307 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.1885, allocations: 3.938 kB / 0.7307 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.1885, allocations: 0 / 0.7307 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.1885, allocations: 0 / 0.7307 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001437/0.1887, allocations: 73.12 kB / 0.7308 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.988e-06/0.1887, allocations: 0 / 0.7308 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.1887, allocations: 3.938 kB / 0.7308 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.401e-05/0.1887, allocations: 3.984 kB / 0.7308 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.37e-05/0.1887, allocations: 4 kB / 0.7308 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.1887, allocations: 0 / 0.7308 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.142e-05/0.1888, allocations: 75.28 kB / 0.7308 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1888, allocations: 4.031 kB / 0.7308 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001725/0.1889, allocations: 0 / 0.7308 GB, free: 14.48 MB / 0.5606 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.0004658/0.1894, allocations: 0.6045 MB / 0.7314 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001439/0.1896, allocations: 16.02 kB / 0.7314 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1896, allocations: 0 / 0.7314 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.313e-05/0.1896, allocations: 4 kB / 0.7314 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001366/0.1897, allocations: 18.53 kB / 0.7315 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003378/0.1901, allocations: 110.5 kB / 0.7316 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002928/0.1904, allocations: 0.669 MB / 0.7322 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.036e-05/0.1904, allocations: 8.125 kB / 0.7322 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.117e-05/0.1904, allocations: 11.44 kB / 0.7322 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of SimCode: time 3.6e-07/0.1904, allocations: 0 / 0.7322 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02741/0.2179, allocations: 1.043 MB / 0.7333 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.12, allocations: 4.5 kB / 0.7333 GB, free: 12.04 MB / 0.5606 GB " [Timeout remaining time 649] (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: 15.04296583699761] Failed to read output from testmodel.py, exit status != 0: 11.228444939002657 11.25817467 11.067416222 Calling exit ...