Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.0009646/0.0009646, allocations: 80.55 kB / 19.96 MB, free: 4.602 MB / 18.57 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.0009385/0.0009385, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 18.57 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 0.9248/0.9248, allocations: 177.1 MB / 203.5 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.858/1.858, allocations: 389.6 MB / 0.6343 GB, free: 12.58 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 1.001 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.458e-05/1.651e-05, allocations: 2.281 kB / 1.001 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001102/0.001118, allocations: 0.6188 MB / 1.001 GB, free: 12.83 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0004984/0.001617, allocations: 318.8 kB / 1.002 GB, free: 12.52 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.423e-05/0.001641, allocations: 3.938 kB / 1.002 GB, free: 12.51 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.602e-05/0.001657, allocations: 3.938 kB / 1.002 GB, free: 12.51 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 2.803e-05/0.001685, allocations: 3.938 kB / 1.002 GB, free: 12.5 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003633/0.002048, allocations: 119.6 kB / 1.002 GB, free: 12.39 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 5.91e-05/0.002107, allocations: 19.98 kB / 1.002 GB, free: 12.37 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.526e-05/0.002143, allocations: 4 kB / 1.002 GB, free: 12.36 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.275e-05/0.002195, allocations: 19.91 kB / 1.002 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.703e-05/0.002242, allocations: 11.98 kB / 1.002 GB, free: 12.33 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.002257, allocations: 4 kB / 1.002 GB, free: 12.33 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002427/0.002499, allocations: 259.6 kB / 1.002 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.45e-05/0.002514, allocations: 7.984 kB / 1.002 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.782e-05/0.002532, allocations: 7.938 kB / 1.002 GB, free: 12.06 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001682/0.0027, allocations: 123.7 kB / 1.002 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.002702, allocations: 3.938 kB / 1.002 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.81e-07/0.002703, allocations: 0 / 1.002 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.457e-06/0.002706, allocations: 0 / 1.002 GB, free: 11.93 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003161/0.003022, allocations: 294 kB / 1.002 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.003061, allocations: 13.34 kB / 1.002 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.064e-05/0.003092, allocations: 38.75 kB / 1.003 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.476e-05/0.003137, allocations: 4.938 kB / 1.003 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.064e-05/0.003207, allocations: 105.8 kB / 1.003 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.003218, allocations: 4.375 kB / 1.003 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/0.003237, allocations: 4.328 kB / 1.003 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/0.003351, allocations: 105.6 kB / 1.003 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.003361, allocations: 4.125 kB / 1.003 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.00337, allocations: 384 / 1.003 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.003376, allocations: 8.125 kB / 1.003 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.274e-05/0.003419, allocations: 19.92 kB / 1.003 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002181/0.003637, allocations: 144.7 kB / 1.003 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 9.295e-05/0.00373, allocations: 50.56 kB / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.579e-05/0.003766, allocations: 32.84 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003228/0.004088, allocations: 71.92 kB / 1.003 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.00411, allocations: 34.56 kB / 1.003 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 1.984e-06/0.004112, allocations: 3.984 kB / 1.003 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11): time 0.0008158/0.004928, allocations: 459.7 kB / 1.004 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.438e-05/0.004952, allocations: 55.34 kB / 1.004 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.008e-05/0.005002, allocations: 101.8 kB / 1.004 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.005015, allocations: 29.7 kB / 1.004 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.261e-05/0.005037, allocations: 84.14 kB / 1.004 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/0.005069, allocations: 43.62 kB / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.98e-05/0.005099, allocations: 21.72 kB / 1.004 GB, free: 9.996 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.257e-05/0.005171, allocations: 322.8 kB / 1.004 GB, free: 9.672 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.831e-05/0.0052, allocations: 16 kB / 1.004 GB, free: 9.656 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.997e-05/0.00523, allocations: 23.98 kB / 1.004 GB, free: 9.633 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.907e-05/0.005299, allocations: 60.47 kB / 1.004 GB, free: 9.574 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.005299, allocations: 0 / 1.004 GB, free: 9.574 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001064/0.005406, allocations: 97.64 kB / 1.004 GB, free: 9.473 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.005418, allocations: 7.938 kB / 1.004 GB, free: 9.465 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.005422, allocations: 3.938 kB / 1.004 GB, free: 9.461 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.005432, allocations: 4 kB / 1.004 GB, free: 9.457 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.593e-05/0.005508, allocations: 23.98 kB / 1.004 GB, free: 9.434 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.005513, allocations: 0 / 1.004 GB, free: 9.434 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.39e-05/0.005526, allocations: 4.094 kB / 1.004 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.005533, allocations: 7.938 kB / 1.004 GB, free: 9.422 MB / 0.9636 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 (13): * Single equations (assignments): 13 * 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 5.408e-05/0.005587, allocations: 113.8 kB / 1.005 GB, free: 9.301 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.516e-05/0.005602, allocations: 0 / 1.005 GB, free: 9.301 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001334/0.005736, allocations: 121.5 kB / 1.005 GB, free: 9.172 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.005737, allocations: 0 / 1.005 GB, free: 9.172 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.00574, allocations: 0 / 1.005 GB, free: 9.172 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.005744, allocations: 4 kB / 1.005 GB, free: 9.168 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002679/0.006012, allocations: 321.5 kB / 1.005 GB, free: 8.805 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.006013, allocations: 0 / 1.005 GB, free: 8.805 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.673e-05/0.00608, allocations: 27.92 kB / 1.005 GB, free: 8.777 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.006082, allocations: 0 / 1.005 GB, free: 8.777 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.006089, allocations: 4 kB / 1.005 GB, free: 8.773 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.006091, allocations: 0 / 1.005 GB, free: 8.773 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.006091, allocations: 0 / 1.005 GB, free: 8.773 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001702/0.006262, allocations: 211.4 kB / 1.005 GB, free: 8.551 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.034e-05/0.006282, allocations: 12.02 kB / 1.005 GB, free: 8.539 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.006295, allocations: 8.062 kB / 1.005 GB, free: 8.531 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.454e-05/0.006339, allocations: 4 kB / 1.005 GB, free: 8.527 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.545e-05/0.006355, allocations: 15.92 kB / 1.005 GB, free: 8.512 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-06/0.006361, allocations: 4 kB / 1.005 GB, free: 8.508 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.278e-05/0.006384, allocations: 83.2 kB / 1.005 GB, free: 8.426 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006384, allocations: 0 / 1.005 GB, free: 8.426 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001864/0.00657, allocations: 39.94 kB / 1.005 GB, free: 8.387 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0004113/0.006981, allocations: 0.7946 MB / 1.006 GB, free: 7.566 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001015/0.007083, allocations: 68.39 kB / 1.006 GB, free: 7.5 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.007084, allocations: 4.062 kB / 1.006 GB, free: 7.496 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.888e-05/0.007113, allocations: 27.94 kB / 1.006 GB, free: 7.469 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001532/0.007266, allocations: 4.219 kB / 1.006 GB, free: 7.465 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009751/0.008241, allocations: 1.397 MB / 1.008 GB, free: 5.988 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.295e-05/0.008284, allocations: 75.33 kB / 1.008 GB, free: 5.895 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.026e-05/0.008325, allocations: 15.98 kB / 1.008 GB, free: 5.879 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.1e-05/0.008356, allocations: 16.5 kB / 1.008 GB, free: 5.863 MB / 0.9636 GB Notification: Performance of SimCode: time 5.11e-07/0.008356, allocations: 0 / 1.008 GB, free: 5.863 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07645/0.0848, allocations: 3.125 MB / 1.011 GB, free: 2.902 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.816/6.901, allocations: 2.406 kB / 1.011 GB, free: 2.902 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-08 ../Buildings_13_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 52.5] OMSimulator failed or timed out simulating it; the others still get to run it (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_fmpy.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_fmpy_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ../Buildings_13_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_fmpy.pipe 2>&1) [Timeout 52.5] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 11.51027132384479]