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.001271/0.001271, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001404/0.001404, allocations: 220.7 kB / 23.03 MB, free: 4.945 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.463/1.463, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.002656/0.002656, allocations: 295.3 kB / 313.5 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.3/1.3, allocations: 180.6 MB / 0.5377 GB, free: 14.55 MB / 382.1 MB " [Timeout remaining time 178] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="cs",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.002822/0.002822, allocations: 100.5 kB / 0.7403 GB, free: 27.99 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1962/0.1991, allocations: 95.37 MB / 0.8334 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.002161/0.2012, allocations: 0.5968 MB / 0.834 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0006763/0.2019, allocations: 299.3 kB / 0.8343 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.896e-05/0.2019, allocations: 0 / 0.8343 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.79e-05/0.2019, allocations: 4 kB / 0.8343 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.771e-06/0.2019, allocations: 0 / 0.8343 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004627/0.2024, allocations: 103.7 kB / 0.8344 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.797e-05/0.2024, allocations: 3.984 kB / 0.8344 GB, free: 7.309 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.615e-05/0.2025, allocations: 0 / 0.8344 GB, free: 7.309 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.56e-05/0.2025, allocations: 0 / 0.8344 GB, free: 7.309 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.196e-05/0.2025, allocations: 4 kB / 0.8344 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.029e-05/0.2025, allocations: 0 / 0.8344 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004659/0.203, allocations: 275.7 kB / 0.8347 GB, free: 7.035 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.334e-05/0.203, allocations: 4 kB / 0.8347 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.972e-05/0.203, allocations: 7.938 kB / 0.8347 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002045/0.2032, allocations: 88 kB / 0.8348 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.367e-06/0.2033, allocations: 3.984 kB / 0.8348 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.425e-06/0.2033, allocations: 0 / 0.8348 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.2033, allocations: 0 / 0.8348 GB, free: 6.934 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.0004209/0.2037, allocations: 266.2 kB / 0.835 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/0.2037, allocations: 9.938 kB / 0.835 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.574e-05/0.2037, allocations: 192 / 0.835 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.929e-05/0.2038, allocations: 34.69 kB / 0.8351 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.271e-05/0.2039, allocations: 4.938 kB / 0.8351 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.204, allocations: 106.5 kB / 0.8352 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.574e-06/0.204, allocations: 384 / 0.8352 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.204, allocations: 384 / 0.8352 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.2041, allocations: 38.02 kB / 0.8352 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.2041, allocations: 0 / 0.8352 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.2041, allocations: 0 / 0.8352 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.2042, allocations: 0 / 0.8352 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.289e-05/0.2042, allocations: 0 / 0.8352 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001795/0.2044, allocations: 120.8 kB / 0.8353 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.126e-05/0.2044, allocations: 22.52 kB / 0.8354 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.61e-05/0.2044, allocations: 12.95 kB / 0.8354 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004053/0.2048, allocations: 35.97 kB / 0.8354 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.596e-05/0.2049, allocations: 42.48 kB / 0.8354 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.2049, allocations: 0 / 0.8354 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001669/0.2051, allocations: 33.64 kB / 0.8355 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.2051, allocations: 59.47 kB / 0.8355 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.401e-05/0.2052, allocations: 93.8 kB / 0.8356 GB, free: 5.91 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.2052, allocations: 25.7 kB / 0.8356 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.451e-05/0.2052, allocations: 80.14 kB / 0.8357 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.901e-05/0.2052, allocations: 4 kB / 0.8357 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.75e-05/0.2053, allocations: 13.72 kB / 0.8357 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.2054, allocations: 310.8 kB / 0.836 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.327e-05/0.2054, allocations: 8 kB / 0.836 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.454e-06/0.2054, allocations: 3.984 kB / 0.836 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.738e-05/0.2055, allocations: 8.922 kB / 0.8361 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.2055, allocations: 4 kB / 0.8361 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.69e-05/0.2055, allocations: 33.7 kB / 0.8361 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.2055, allocations: 11.88 kB / 0.8361 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.2055, allocations: 4 kB / 0.8361 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.2056, allocations: 0 / 0.8361 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.272e-05/0.2056, allocations: 0 / 0.8361 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.2056, allocations: 0 / 0.8361 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.001e-05/0.2056, allocations: 0 / 0.8361 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.2056, allocations: 4 kB / 0.8361 GB, free: 5.375 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 8.424e-05/0.2057, allocations: 114.5 kB / 0.8362 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.133e-05/0.2057, allocations: 3.938 kB / 0.8362 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.353e-05/0.2058, allocations: 36.7 kB / 0.8363 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.2058, allocations: 0 / 0.8363 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.2058, allocations: 3.984 kB / 0.8363 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.2058, allocations: 0 / 0.8363 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001076/0.2059, allocations: 124.8 kB / 0.8364 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.2059, allocations: 0 / 0.8364 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.429e-05/0.206, allocations: 4 kB / 0.8364 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.206, allocations: 7.875 kB / 0.8364 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.15e-06/0.206, allocations: 4.031 kB / 0.8364 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.206, allocations: 0 / 0.8364 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.206, allocations: 0 / 0.8364 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.998e-05/0.2061, allocations: 61.12 kB / 0.8364 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.078e-06/0.2061, allocations: 0 / 0.8364 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.2061, allocations: 7.938 kB / 0.8365 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.692e-06/0.2061, allocations: 3.938 kB / 0.8365 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.431e-05/0.2061, allocations: 0 / 0.8365 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-06/0.2061, allocations: 0 / 0.8365 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.55e-05/0.2061, allocations: 75.28 kB / 0.8365 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.2061, allocations: 4.031 kB / 0.8365 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002037/0.2063, allocations: 15.94 kB / 0.8366 GB, free: 4.84 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.0005086/0.2069, allocations: 0.61 MB / 0.8371 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.708e-05/0.2069, allocations: 4 kB / 0.8372 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.2069, allocations: 0 / 0.8372 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.607e-06/0.2069, allocations: 4 kB / 0.8372 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001304/0.2071, allocations: 2.438 kB / 0.8372 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003265/0.2074, allocations: 121 kB / 0.8373 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.823e-05/0.2074, allocations: 63.34 kB / 0.8373 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.359e-05/0.2075, allocations: 0 / 0.8373 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.85e-05/0.2075, allocations: 7.438 kB / 0.8373 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of SimCode: time 2.71e-07/0.2075, allocations: 0 / 0.8373 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02147/0.2289, allocations: 1.36 MB / 0.8387 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.16, allocations: 16.36 kB / 0.8387 GB, free: 2.723 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.549364657024853] Failed to read output from testmodel.py, exit status != 0: 11.3242740429705 11.351067634 11.143118362 Calling exit ...