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.001642/0.001642, allocations: 105 kB / 20.48 MB, free: 1.488 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.001874/0.001874, allocations: 213.4 kB / 23.79 MB, free: 4.703 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.484/1.484, allocations: 230.6 MB / 257.6 MB, free: 7.957 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 1.018/1.018, allocations: 150 MB / 464 MB, free: 10.45 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.RegStep,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegStep",fmuType="cs",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.002056/0.002056, allocations: 66.53 kB / 0.6421 GB, free: 10.29 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.184, allocations: 89.17 MB / 0.7292 GB, free: 1.184 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.001737/0.1857, allocations: 0.5838 MB / 0.7297 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002324/0.186, allocations: 47.8 kB / 0.7298 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.355e-05/0.186, allocations: 4 kB / 0.7298 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.396e-05/0.186, allocations: 3.938 kB / 0.7298 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.521e-06/0.186, allocations: 0 / 0.7298 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002016/0.1862, allocations: 19.98 kB / 0.7298 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 3.338e-05/0.1862, allocations: 0 / 0.7298 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.752e-05/0.1863, allocations: 0 / 0.7298 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.15e-05/0.1863, allocations: 0 / 0.7298 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.105e-05/0.1863, allocations: 4 kB / 0.7298 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.364e-06/0.1863, allocations: 0 / 0.7298 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.95e-05/0.1864, allocations: 31.89 kB / 0.7298 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.684e-06/0.1864, allocations: 4 kB / 0.7298 GB, free: 500 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.207e-05/0.1864, allocations: 4 kB / 0.7298 GB, free: 496 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 7.465e-05/0.1865, allocations: 7.984 kB / 0.7298 GB, free: 488 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.1865, allocations: 4 kB / 0.7299 GB, free: 484 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.332e-06/0.1865, allocations: 0 / 0.7299 GB, free: 484 kB / 0.545 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.1865, allocations: 0 / 0.7299 GB, free: 484 kB / 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.0002857/0.1868, allocations: 238.7 kB / 0.7301 GB, free: 212 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.1869, allocations: 12.03 kB / 0.7301 GB, free: 200 kB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.127e-05/0.1869, allocations: 4.125 kB / 0.7301 GB, free: 196 kB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.633e-05/0.1869, allocations: 34.75 kB / 0.7301 GB, free: 152 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002297/0.1871, allocations: 16.91 kB / 0.7301 GB, free: 136 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.876e-05/0.1872, allocations: 110.5 kB / 0.7303 GB, free: 0 / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/0.1872, allocations: 464 / 0.7303 GB, free: 16 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.1872, allocations: 4.375 kB / 0.7303 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.1874, allocations: 38 kB / 0.7303 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.1874, allocations: 0 / 0.7303 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-06/0.1874, allocations: 4 kB / 0.7303 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.1874, allocations: 0 / 0.7303 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.204e-05/0.1875, allocations: 15.92 kB / 0.7303 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001427/0.1876, allocations: 116.8 kB / 0.7304 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.195e-05/0.1877, allocations: 22.61 kB / 0.7304 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.35e-05/0.1878, allocations: 12.91 kB / 0.7305 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.1878, allocations: 4 kB / 0.7305 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.1878, allocations: 34.5 kB / 0.7305 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.1878, allocations: 0 / 0.7305 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0002273/0.188, allocations: 49.61 kB / 0.7305 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.1881, allocations: 51.41 kB / 0.7306 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.921e-05/0.1881, allocations: 89.86 kB / 0.7307 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.1881, allocations: 25.83 kB / 0.7307 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.392e-05/0.1882, allocations: 84.14 kB / 0.7308 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.62e-05/0.1882, allocations: 11.95 kB / 0.7308 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.01e-05/0.1882, allocations: 9.719 kB / 0.7308 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.1884, allocations: 310.8 kB / 0.7311 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.047e-05/0.1884, allocations: 7.984 kB / 0.7311 GB, free: 15 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.915e-05/0.1885, allocations: 4 kB / 0.7311 GB, free: 15 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.087e-05/0.1886, allocations: 16.91 kB / 0.7311 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.1886, allocations: 4 kB / 0.7311 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001321/0.1887, allocations: 49.61 kB / 0.7312 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.1887, allocations: 10.59 kB / 0.7312 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/0.1887, allocations: 0 / 0.7312 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.798e-06/0.1887, allocations: 0 / 0.7312 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.695e-05/0.1888, allocations: 4 kB / 0.7312 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.1888, allocations: 0 / 0.7312 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.422e-05/0.1888, allocations: 8.031 kB / 0.7312 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.1888, allocations: 3.984 kB / 0.7312 GB, free: 14.89 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.846e-05/0.1889, allocations: 109.8 kB / 0.7313 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.698e-06/0.1889, allocations: 3.938 kB / 0.7313 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.526e-05/0.189, allocations: 6.938 kB / 0.7313 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.189, allocations: 0 / 0.7313 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.189, allocations: 4 kB / 0.7313 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-06/0.189, allocations: 3.938 kB / 0.7313 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.343e-05/0.1891, allocations: 120.8 kB / 0.7314 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.1891, allocations: 0 / 0.7314 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.184e-05/0.1891, allocations: 8 kB / 0.7314 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.1891, allocations: 3.938 kB / 0.7314 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.186e-06/0.1891, allocations: 4 kB / 0.7315 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.1891, allocations: 0 / 0.7315 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.1891, allocations: 3.938 kB / 0.7315 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001515/0.1893, allocations: 73.09 kB / 0.7315 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.777e-06/0.1893, allocations: 0 / 0.7315 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.1893, allocations: 3.938 kB / 0.7315 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.368e-05/0.1893, allocations: 4 kB / 0.7315 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.054e-05/0.1893, allocations: 4 kB / 0.7315 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.1893, allocations: 0 / 0.7315 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.646e-05/0.1894, allocations: 79.27 kB / 0.7316 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1894, allocations: 0 / 0.7316 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001764/0.1896, allocations: 4 kB / 0.7316 GB, free: 14.39 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.0004411/0.19, allocations: 0.5968 MB / 0.7322 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001318/0.1901, allocations: 11.98 kB / 0.7322 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1901, allocations: 4.094 kB / 0.7322 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.634e-05/0.1902, allocations: 7.984 kB / 0.7322 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001233/0.1903, allocations: 4 kB / 0.7322 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003484/0.1906, allocations: 106.6 kB / 0.7323 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/0.1909, allocations: 0.6729 MB / 0.733 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.232e-05/0.191, allocations: 12.05 kB / 0.733 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.503e-05/0.191, allocations: 11.38 kB / 0.733 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/0.191, allocations: 0 / 0.733 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02057/0.2116, allocations: 1.075 MB / 0.7341 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.31, allocations: 15.02 kB / 0.7341 GB, free: 11.95 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegStep_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 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.20799389097374] Failed to read output from testmodel.py, exit status != 0: 11.472328056988772 11.488322312 11.298716003000001 Calling exit ...