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.0007686/0.0007686, allocations: 108.3 kB / 19.73 MB, free: 420 kB / 13.93 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.0007993/0.0007993, allocations: 212.6 kB / 23.02 MB, free: 2.965 MB / 13.93 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.079/1.079, allocations: 230.6 MB / 256.8 MB, free: 9.59 MB / 202.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.998/1.998, allocations: 0.5045 GB / 0.8104 GB, free: 2.773 MB / 0.6511 GB " [Timeout remaining time 177] 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 0.001354/0.001354, allocations: 75.89 kB / 1.177 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8055/0.8068, allocations: 180 MB / 1.352 GB, free: 1.641 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001356/0.8082, allocations: 0.6274 MB / 1.353 GB, free: 1.016 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.000518/0.8087, allocations: 321.9 kB / 1.353 GB, free: 0.7031 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.543e-05/0.8087, allocations: 0 / 1.353 GB, free: 0.7031 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 1.783e-05/0.8088, allocations: 3.938 kB / 1.353 GB, free: 0.6992 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 2.743e-05/0.8088, allocations: 4 kB / 1.353 GB, free: 0.6953 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003957/0.8092, allocations: 111.7 kB / 1.354 GB, free: 0.5859 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 6.446e-05/0.8093, allocations: 31.84 kB / 1.354 GB, free: 0.5547 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 4.262e-05/0.8093, allocations: 4 kB / 1.354 GB, free: 0.5508 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 4.102e-05/0.8093, allocations: 11.98 kB / 1.354 GB, free: 0.5391 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 5.486e-05/0.8094, allocations: 11.92 kB / 1.354 GB, free: 0.5273 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.8094, allocations: 0 / 1.354 GB, free: 0.5273 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002664/0.8097, allocations: 263.7 kB / 1.354 GB, free: 276 kB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 1.637e-05/0.8097, allocations: 7.984 kB / 1.354 GB, free: 268 kB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 2.276e-05/0.8097, allocations: 15.92 kB / 1.354 GB, free: 252 kB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.000161/0.8099, allocations: 105.9 kB / 1.354 GB, free: 148 kB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.8099, allocations: 0 / 1.354 GB, free: 148 kB / 1.026 GB Notification: Performance of FrontEnd: time 2.054e-06/0.8099, allocations: 0 / 1.354 GB, free: 148 kB / 1.026 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.8099, allocations: 0 / 1.354 GB, free: 148 kB / 1.026 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.0003881/0.8103, allocations: 282.1 kB / 1.354 GB, free: 15.84 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.8103, allocations: 8.922 kB / 1.354 GB, free: 15.83 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.357e-05/0.8103, allocations: 38.75 kB / 1.354 GB, free: 15.78 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.769e-05/0.8104, allocations: 4.891 kB / 1.354 GB, free: 15.78 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.803e-05/0.8105, allocations: 114.5 kB / 1.354 GB, free: 15.64 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.8105, allocations: 8.25 kB / 1.354 GB, free: 15.63 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.8105, allocations: 8.375 kB / 1.354 GB, free: 15.62 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.8106, allocations: 101.6 kB / 1.354 GB, free: 15.51 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.8106, allocations: 3.938 kB / 1.354 GB, free: 15.5 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.8106, allocations: 0 / 1.354 GB, free: 15.5 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.8107, allocations: 4 kB / 1.355 GB, free: 15.5 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.504e-05/0.8107, allocations: 15.98 kB / 1.355 GB, free: 15.48 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001396/0.8108, allocations: 140.6 kB / 1.355 GB, free: 15.3 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 9.474e-05/0.8109, allocations: 58.5 kB / 1.355 GB, free: 15.24 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.523e-05/0.811, allocations: 32.84 kB / 1.355 GB, free: 15.2 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00035/0.8113, allocations: 71.92 kB / 1.355 GB, free: 15.13 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.8113, allocations: 38.56 kB / 1.355 GB, free: 15.09 MB / 1.042 GB Notification: Performance of pre-optimization done (n=7): time 1.823e-06/0.8113, allocations: 4 kB / 1.355 GB, free: 15.08 MB / 1.042 GB Notification: Performance of matching and sorting (n=11): time 0.0008996/0.8122, allocations: 447.8 kB / 1.355 GB, free: 14.59 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.722e-05/0.8123, allocations: 51.41 kB / 1.355 GB, free: 14.53 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.833e-05/0.8123, allocations: 105.8 kB / 1.355 GB, free: 14.41 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.8123, allocations: 25.7 kB / 1.355 GB, free: 14.38 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 2.663e-05/0.8124, allocations: 88.14 kB / 1.356 GB, free: 14.29 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 3.46e-05/0.8124, allocations: 43.62 kB / 1.356 GB, free: 14.25 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.374e-05/0.8124, allocations: 25.72 kB / 1.356 GB, free: 14.22 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.119e-05/0.8125, allocations: 322.8 kB / 1.356 GB, free: 13.89 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.221e-05/0.8126, allocations: 20 kB / 1.356 GB, free: 13.88 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.778e-05/0.8126, allocations: 19.98 kB / 1.356 GB, free: 13.86 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.284e-05/0.8127, allocations: 58.8 kB / 1.356 GB, free: 13.8 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.8127, allocations: 0 / 1.356 GB, free: 13.8 MB / 1.042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001283/0.8128, allocations: 101.6 kB / 1.356 GB, free: 13.69 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.8128, allocations: 8 kB / 1.356 GB, free: 13.68 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.8128, allocations: 4 kB / 1.356 GB, free: 13.68 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.8128, allocations: 0 / 1.356 GB, free: 13.68 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.115e-05/0.8129, allocations: 31.92 kB / 1.356 GB, free: 13.65 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.8129, allocations: 4 kB / 1.356 GB, free: 13.64 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.289e-05/0.8129, allocations: 0 / 1.356 GB, free: 13.64 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.964e-06/0.8129, allocations: 4 kB / 1.356 GB, free: 13.64 MB / 1.042 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 6.94e-05/0.813, allocations: 109.8 kB / 1.356 GB, free: 13.52 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.558e-05/0.813, allocations: 7.938 kB / 1.356 GB, free: 13.52 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000169/0.8132, allocations: 113.7 kB / 1.356 GB, free: 13.4 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.8132, allocations: 3.938 kB / 1.356 GB, free: 13.39 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.8132, allocations: 0 / 1.356 GB, free: 13.39 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.8132, allocations: 0 / 1.356 GB, free: 13.39 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000703/0.8139, allocations: 321.5 kB / 1.357 GB, free: 13.03 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.8139, allocations: 4 kB / 1.357 GB, free: 13.03 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.953e-05/0.814, allocations: 20 kB / 1.357 GB, free: 13.01 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.814, allocations: 8.031 kB / 1.357 GB, free: 13 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.814, allocations: 7.922 kB / 1.357 GB, free: 12.99 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.814, allocations: 0 / 1.357 GB, free: 12.99 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.814, allocations: 0 / 1.357 GB, free: 12.99 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002106/0.8142, allocations: 211.5 kB / 1.357 GB, free: 12.77 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.674e-05/0.8143, allocations: 11.97 kB / 1.357 GB, free: 12.76 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.8143, allocations: 4 kB / 1.357 GB, free: 12.75 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.922e-05/0.8143, allocations: 4 kB / 1.357 GB, free: 12.75 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.204e-05/0.8143, allocations: 11.92 kB / 1.357 GB, free: 12.74 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-06/0.8144, allocations: 8.062 kB / 1.357 GB, free: 12.73 MB / 1.042 GB Notification: Performance of sorting global known variables: time 3.031e-05/0.8144, allocations: 83.27 kB / 1.357 GB, free: 12.65 MB / 1.042 GB Notification: Performance of sort global known variables: time 4e-08/0.8144, allocations: 0 / 1.357 GB, free: 12.65 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002009/0.8146, allocations: 39.94 kB / 1.357 GB, free: 12.61 MB / 1.042 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.0005355/0.8151, allocations: 0.7981 MB / 1.358 GB, free: 11.79 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001324/0.8153, allocations: 59.86 kB / 1.358 GB, free: 11.73 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.8153, allocations: 0 / 1.358 GB, free: 11.73 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 3.053e-05/0.8153, allocations: 27.98 kB / 1.358 GB, free: 11.7 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001773/0.8155, allocations: 12 kB / 1.358 GB, free: 11.69 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.8166, allocations: 1.407 MB / 1.359 GB, free: 10.21 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.777e-05/0.8167, allocations: 75.11 kB / 1.359 GB, free: 10.11 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 4.891e-05/0.8167, allocations: 11.98 kB / 1.359 GB, free: 10.1 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.555e-05/0.8168, allocations: 19.38 kB / 1.359 GB, free: 10.08 MB / 1.042 GB Notification: Performance of SimCode: time 1.122e-06/0.8168, allocations: 0 / 1.359 GB, free: 10.08 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08878/0.9056, allocations: 2.976 MB / 1.362 GB, free: 7.25 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.817/7.722, allocations: 9.469 kB / 1.362 GB, free: 7.246 MB / 1.042 GB " [Timeout remaining time 292] (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: 12.671289349906147]