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.001219/0.001219, allocations: 101.8 kB / 19.73 MB, free: 2.23 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.001412/0.001412, allocations: 217 kB / 23.04 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.467/1.467, allocations: 230.6 MB / 256.8 MB, free: 7.969 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.003267/0.003267, allocations: 282.4 kB / 313.5 MB, free: 2.781 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.278/1.278, allocations: 180.6 MB / 0.5377 GB, free: 13.01 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="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.00279/0.00279, allocations: 96.42 kB / 0.7404 GB, free: 28.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.2067, allocations: 95.38 MB / 0.8335 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001791/0.2085, allocations: 0.5921 MB / 0.8341 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0006881/0.2092, allocations: 331.2 kB / 0.8344 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.491e-05/0.2092, allocations: 3.938 kB / 0.8344 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.61e-05/0.2092, allocations: 4 kB / 0.8344 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.131e-06/0.2092, allocations: 0 / 0.8344 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004417/0.2097, allocations: 117.9 kB / 0.8345 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 3.737e-05/0.2097, allocations: 0 / 0.8345 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.955e-05/0.2097, allocations: 0 / 0.8345 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.193e-05/0.2098, allocations: 0 / 0.8345 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.638e-05/0.2098, allocations: 7.984 kB / 0.8346 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.898e-06/0.2098, allocations: 0 / 0.8346 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004148/0.2102, allocations: 271.7 kB / 0.8348 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.797e-06/0.2102, allocations: 0 / 0.8348 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.445e-05/0.2102, allocations: 4 kB / 0.8348 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001723/0.2104, allocations: 95.95 kB / 0.8349 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.2104, allocations: 0 / 0.8349 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2104, allocations: 0 / 0.8349 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.2104, allocations: 0 / 0.8349 GB, free: 7.164 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.0003119/0.2107, allocations: 262.2 kB / 0.8352 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.2108, allocations: 13.34 kB / 0.8352 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.238e-05/0.2108, allocations: 192 / 0.8352 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.027e-05/0.2108, allocations: 34.73 kB / 0.8352 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.344e-05/0.2108, allocations: 0.9375 kB / 0.8352 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.26e-05/0.2109, allocations: 106.5 kB / 0.8353 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.781e-06/0.2109, allocations: 384 / 0.8353 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.2109, allocations: 4.375 kB / 0.8353 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.539e-05/0.211, allocations: 30.02 kB / 0.8353 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.211, allocations: 0 / 0.8353 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.372e-06/0.211, allocations: 0 / 0.8353 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.211, allocations: 0 / 0.8353 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.124e-05/0.2111, allocations: 7.938 kB / 0.8353 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001304/0.2112, allocations: 120.8 kB / 0.8355 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.432e-05/0.2112, allocations: 22.61 kB / 0.8355 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.736e-05/0.2113, allocations: 8.844 kB / 0.8355 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003312/0.2116, allocations: 40.02 kB / 0.8355 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.2116, allocations: 42.5 kB / 0.8356 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.2116, allocations: 4 kB / 0.8356 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001386/0.2118, allocations: 37.62 kB / 0.8356 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.2118, allocations: 51.41 kB / 0.8357 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.365e-05/0.2118, allocations: 89.86 kB / 0.8357 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.2119, allocations: 25.7 kB / 0.8358 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.569e-05/0.2119, allocations: 80.14 kB / 0.8358 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.418e-05/0.2119, allocations: 0 / 0.8358 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.85e-05/0.2119, allocations: 13.84 kB / 0.8359 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.2121, allocations: 318.8 kB / 0.8362 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.787e-06/0.2121, allocations: 0 / 0.8362 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.973e-06/0.2121, allocations: 7.938 kB / 0.8362 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.408e-05/0.2121, allocations: 8.844 kB / 0.8362 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.2121, allocations: 0 / 0.8362 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.049e-05/0.2122, allocations: 41.64 kB / 0.8362 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.2122, allocations: 7.938 kB / 0.8362 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.2122, allocations: 4.031 kB / 0.8362 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.2122, allocations: 4 kB / 0.8362 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.787e-05/0.2123, allocations: 4 kB / 0.8362 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.2123, allocations: 0 / 0.8362 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.716e-06/0.2123, allocations: 0 / 0.8362 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-06/0.2123, allocations: 0 / 0.8362 GB, free: 5.605 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.02e-05/0.2124, allocations: 118.5 kB / 0.8364 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.043e-05/0.2124, allocations: 3.938 kB / 0.8364 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.281e-05/0.2125, allocations: 40.64 kB / 0.8364 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-06/0.2125, allocations: 0 / 0.8364 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.2125, allocations: 0 / 0.8364 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.2125, allocations: 0 / 0.8364 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.983e-05/0.2126, allocations: 124.8 kB / 0.8365 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.2126, allocations: 0 / 0.8365 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.307e-05/0.2126, allocations: 4 kB / 0.8365 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.2126, allocations: 3.938 kB / 0.8365 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.742e-06/0.2126, allocations: 4 kB / 0.8365 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.2126, allocations: 0 / 0.8365 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2126, allocations: 0 / 0.8365 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.764e-05/0.2127, allocations: 57.16 kB / 0.8366 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.831e-06/0.2127, allocations: 4 kB / 0.8366 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.075e-05/0.2127, allocations: 3.938 kB / 0.8366 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.753e-06/0.2127, allocations: 0 / 0.8366 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.394e-05/0.2127, allocations: 4 kB / 0.8366 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-06/0.2127, allocations: 0 / 0.8366 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.62e-05/0.2127, allocations: 79.22 kB / 0.8367 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.2127, allocations: 4.031 kB / 0.8367 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000195/0.2129, allocations: 15.94 kB / 0.8367 GB, free: 5.07 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.0004465/0.2134, allocations: 0.6046 MB / 0.8373 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.422e-05/0.2134, allocations: 4 kB / 0.8373 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.123e-06/0.2135, allocations: 4.094 kB / 0.8373 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.01e-05/0.2135, allocations: 7.938 kB / 0.8373 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001232/0.2136, allocations: 3.5 kB / 0.8373 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000298/0.2139, allocations: 112.3 kB / 0.8374 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/0.2142, allocations: 0.6805 MB / 0.8381 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.496e-05/0.2142, allocations: 0 / 0.8381 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.689e-05/0.2142, allocations: 7.438 kB / 0.8381 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of SimCode: time 3.1e-07/0.2142, allocations: 4.062 kB / 0.8381 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02189/0.2361, allocations: 1.329 MB / 0.8394 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/10.93, allocations: 3.688 kB / 0.8394 GB, free: 2.367 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.33740833698539] Failed to read output from testmodel.py, exit status != 0: 11.087751551996917 11.111948827 10.898204078 Calling exit ...