Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.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.001427/0.001427, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001592/0.001592, allocations: 209.7 kB / 22.25 MB, free: 4.848 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.436/1.436, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002501/0.002501, allocations: 291.2 kB / 312.7 MB, free: 2.617 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.239/1.239, allocations: 180.6 MB / 0.5369 GB, free: 14.42 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002971/0.002971, allocations: 100.8 kB / 0.7395 GB, free: 28.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1952/0.1981, allocations: 95.38 MB / 0.8327 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001936/0.2001, allocations: 0.5999 MB / 0.8333 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.000683/0.2008, allocations: 295.3 kB / 0.8335 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.117e-05/0.2008, allocations: 4 kB / 0.8335 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.544e-05/0.2008, allocations: 0 / 0.8335 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.291e-06/0.2008, allocations: 0 / 0.8335 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000445/0.2012, allocations: 101.3 kB / 0.8336 GB, free: 7.324 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.072e-05/0.2013, allocations: 4 kB / 0.8336 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.042e-05/0.2013, allocations: 7.938 kB / 0.8337 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.34e-05/0.2013, allocations: 0 / 0.8337 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.437e-05/0.2014, allocations: 3.984 kB / 0.8337 GB, free: 7.309 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.2014, allocations: 0 / 0.8337 GB, free: 7.309 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004202/0.2018, allocations: 263.6 kB / 0.8339 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.294e-05/0.2018, allocations: 0 / 0.8339 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.522e-05/0.2018, allocations: 0 / 0.8339 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001843/0.202, allocations: 95.95 kB / 0.834 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.202, allocations: 0 / 0.834 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.863e-06/0.202, allocations: 0 / 0.834 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.202, allocations: 0 / 0.834 GB, free: 6.957 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003465/0.2024, allocations: 262.2 kB / 0.8343 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.2024, allocations: 13.34 kB / 0.8343 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.735e-05/0.2025, allocations: 30.75 kB / 0.8343 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.31e-05/0.2025, allocations: 0.9375 kB / 0.8343 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.2026, allocations: 102.5 kB / 0.8344 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.2026, allocations: 8.312 kB / 0.8344 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.2026, allocations: 4.375 kB / 0.8344 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.2027, allocations: 26.27 kB / 0.8344 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.2028, allocations: 3.938 kB / 0.8344 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.365e-06/0.2028, allocations: 0 / 0.8344 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.2028, allocations: 4 kB / 0.8344 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.351e-05/0.2028, allocations: 11.92 kB / 0.8344 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001485/0.2029, allocations: 112.8 kB / 0.8346 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.808e-05/0.203, allocations: 22.61 kB / 0.8346 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.688e-05/0.203, allocations: 4.859 kB / 0.8346 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003772/0.2034, allocations: 48 kB / 0.8346 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.2034, allocations: 34.56 kB / 0.8347 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.332e-06/0.2034, allocations: 0 / 0.8347 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001456/0.2036, allocations: 37.58 kB / 0.8347 GB, free: 6.105 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.2036, allocations: 55.41 kB / 0.8348 GB, free: 6.039 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.842e-05/0.2037, allocations: 89.86 kB / 0.8348 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/0.2037, allocations: 25.7 kB / 0.8349 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.799e-05/0.2037, allocations: 80.14 kB / 0.8349 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.857e-05/0.2037, allocations: 4 kB / 0.8349 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.784e-05/0.2038, allocations: 13.72 kB / 0.835 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.2039, allocations: 314.8 kB / 0.8353 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.997e-06/0.2039, allocations: 128 / 0.8353 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.631e-06/0.2039, allocations: 7.938 kB / 0.8353 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.43e-05/0.2039, allocations: 8.859 kB / 0.8353 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.2039, allocations: 3.938 kB / 0.8353 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.735e-05/0.204, allocations: 37.7 kB / 0.8353 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.204, allocations: 6.344 kB / 0.8353 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.204, allocations: 3.938 kB / 0.8353 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.204, allocations: 0 / 0.8353 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.899e-05/0.2041, allocations: 4 kB / 0.8353 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.2041, allocations: 4.078 kB / 0.8353 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.618e-06/0.2041, allocations: 4 kB / 0.8353 GB, free: 5.402 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.2041, allocations: 0 / 0.8353 GB, free: 5.402 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 (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.194e-05/0.2042, allocations: 106.5 kB / 0.8354 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.981e-05/0.2042, allocations: 4 kB / 0.8354 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.892e-05/0.2043, allocations: 40.58 kB / 0.8355 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.2043, allocations: 0 / 0.8355 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.2043, allocations: 3.984 kB / 0.8355 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.2043, allocations: 0 / 0.8355 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.481e-05/0.2044, allocations: 128.8 kB / 0.8356 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.2044, allocations: 4.031 kB / 0.8356 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.063e-05/0.2044, allocations: 0 / 0.8356 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.2044, allocations: 3.938 kB / 0.8356 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.2044, allocations: 7.938 kB / 0.8356 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.2044, allocations: 0 / 0.8356 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.2044, allocations: 0 / 0.8356 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.844e-05/0.2045, allocations: 61.12 kB / 0.8357 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.587e-06/0.2045, allocations: 0 / 0.8357 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.2045, allocations: 3.938 kB / 0.8357 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.657e-06/0.2045, allocations: 7.922 kB / 0.8357 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.185e-05/0.2045, allocations: 4.031 kB / 0.8357 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-06/0.2045, allocations: 4 kB / 0.8357 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.201e-05/0.2046, allocations: 75.28 kB / 0.8358 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.2046, allocations: 0 / 0.8358 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000201/0.2048, allocations: 15.92 kB / 0.8358 GB, free: 4.863 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 (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.000442/0.2052, allocations: 0.6007 MB / 0.8364 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.565e-05/0.2053, allocations: 7.938 kB / 0.8364 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2053, allocations: 3.938 kB / 0.8364 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.901e-06/0.2053, allocations: 4.094 kB / 0.8364 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001217/0.2054, allocations: 8 kB / 0.8364 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002949/0.2057, allocations: 114.3 kB / 0.8365 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.758e-05/0.2058, allocations: 55.36 kB / 0.8366 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.408e-05/0.2058, allocations: 0 / 0.8366 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.829e-05/0.2058, allocations: 7.438 kB / 0.8366 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of SimCode: time 2.71e-07/0.2058, allocations: 0 / 0.8366 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0312/0.237, allocations: 1.703 MB / 0.8382 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.1, allocations: 3.188 kB / 0.8382 GB, free: 2.406 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.228796270210296] Failed to read output from testmodel.py, exit status != 0: 11.202045992948115 11.225109334 11.019025457 Calling exit ...