Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.000965/0.000965, allocations: 100.3 kB / 19.72 MB, free: 428 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.001099/0.001099, allocations: 218.8 kB / 23.02 MB, free: 2.953 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 0.9819/0.9819, allocations: 230.6 MB / 256.8 MB, free: 9.566 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 2.042/2.042, allocations: 0.5045 GB / 0.8104 GB, free: 2.77 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.RegNonZeroPower,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001049/0.001049, allocations: 71.89 kB / 1.177 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7822/0.7833, allocations: 180 MB / 1.352 GB, free: 1.598 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001358/0.7846, allocations: 0.578 MB / 1.353 GB, free: 1.02 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.0004771/0.7851, allocations: 298 kB / 1.353 GB, free: 0.7305 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.498e-05/0.7851, allocations: 0 / 1.353 GB, free: 0.7305 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 1.538e-05/0.7851, allocations: 0 / 1.353 GB, free: 0.7305 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 6.402e-06/0.7852, allocations: 0 / 1.353 GB, free: 0.7305 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003979/0.7856, allocations: 116.8 kB / 1.353 GB, free: 0.6172 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 4.416e-05/0.7856, allocations: 8 kB / 1.353 GB, free: 0.6094 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 4.066e-05/0.7856, allocations: 0 / 1.353 GB, free: 0.6094 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 1.364e-05/0.7857, allocations: 0 / 1.353 GB, free: 0.6094 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 2.2e-05/0.7857, allocations: 7.984 kB / 1.353 GB, free: 0.6016 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 9.719e-06/0.7857, allocations: 0 / 1.353 GB, free: 0.6016 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002866/0.786, allocations: 251.6 kB / 1.354 GB, free: 364 kB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 1.302e-05/0.786, allocations: 0 / 1.354 GB, free: 364 kB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 1.59e-05/0.786, allocations: 8 kB / 1.354 GB, free: 356 kB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.7861, allocations: 82.05 kB / 1.354 GB, free: 276 kB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.7861, allocations: 3.938 kB / 1.354 GB, free: 272 kB / 1.026 GB Notification: Performance of FrontEnd: time 1.964e-06/0.7861, allocations: 4 kB / 1.354 GB, free: 268 kB / 1.026 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.7862, allocations: 0 / 1.354 GB, free: 268 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002501/0.7864, allocations: 258.2 kB / 1.354 GB, free: 15.98 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.7864, allocations: 12.92 kB / 1.354 GB, free: 15.96 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.661e-05/0.7865, allocations: 30.75 kB / 1.354 GB, free: 15.93 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.322e-05/0.7865, allocations: 4.875 kB / 1.354 GB, free: 15.92 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.311e-05/0.7866, allocations: 106.5 kB / 1.354 GB, free: 15.79 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.716e-06/0.7866, allocations: 384 / 1.354 GB, free: 15.79 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.001e-06/0.7866, allocations: 4.375 kB / 1.354 GB, free: 15.79 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.247e-05/0.7867, allocations: 34.2 kB / 1.354 GB, free: 15.75 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.7867, allocations: 7.938 kB / 1.354 GB, free: 15.74 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.653e-06/0.7867, allocations: 0 / 1.354 GB, free: 15.74 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.7867, allocations: 0 / 1.354 GB, free: 15.74 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.914e-05/0.7867, allocations: 7.984 kB / 1.354 GB, free: 15.73 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.999e-05/0.7868, allocations: 112.8 kB / 1.354 GB, free: 15.58 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.682e-05/0.7868, allocations: 18.61 kB / 1.354 GB, free: 15.55 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.502e-05/0.7869, allocations: 8.859 kB / 1.354 GB, free: 15.54 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002995/0.7872, allocations: 55.95 kB / 1.354 GB, free: 15.49 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.7872, allocations: 30.56 kB / 1.354 GB, free: 15.45 MB / 1.042 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.7872, allocations: 3.938 kB / 1.354 GB, free: 15.45 MB / 1.042 GB Notification: Performance of matching and sorting (n=1): time 0.0001452/0.7873, allocations: 37.64 kB / 1.354 GB, free: 15.4 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.725e-05/0.7873, allocations: 51.41 kB / 1.355 GB, free: 15.34 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.755e-05/0.7874, allocations: 89.86 kB / 1.355 GB, free: 15.24 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.7874, allocations: 25.7 kB / 1.355 GB, free: 15.21 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 2.153e-05/0.7874, allocations: 84.12 kB / 1.355 GB, free: 15.12 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.451e-05/0.7874, allocations: 0 / 1.355 GB, free: 15.12 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.394e-05/0.7875, allocations: 17.72 kB / 1.355 GB, free: 15.1 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 9.01e-05/0.7875, allocations: 319 kB / 1.355 GB, free: 14.78 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.055e-05/0.7876, allocations: 0 / 1.355 GB, free: 14.78 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.803e-06/0.7876, allocations: 4 kB / 1.355 GB, free: 14.78 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.528e-05/0.7876, allocations: 8.797 kB / 1.355 GB, free: 14.77 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.7876, allocations: 0 / 1.355 GB, free: 14.77 MB / 1.042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.112e-05/0.7876, allocations: 33.7 kB / 1.355 GB, free: 14.73 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.7877, allocations: 6.344 kB / 1.355 GB, free: 14.72 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.7877, allocations: 3.938 kB / 1.355 GB, free: 14.72 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.7877, allocations: 0 / 1.355 GB, free: 14.72 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.984e-05/0.7877, allocations: 8.094 kB / 1.355 GB, free: 14.71 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.7877, allocations: 3.984 kB / 1.355 GB, free: 14.71 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.416e-06/0.7877, allocations: 4 kB / 1.355 GB, free: 14.7 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.7877, allocations: 3.938 kB / 1.355 GB, free: 14.7 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 (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 5.819e-05/0.7878, allocations: 112.6 kB / 1.355 GB, free: 14.58 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.681e-05/0.7878, allocations: 3.938 kB / 1.355 GB, free: 14.58 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.71e-05/0.7879, allocations: 44.56 kB / 1.355 GB, free: 14.53 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.7879, allocations: 0 / 1.355 GB, free: 14.53 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.7879, allocations: 3.984 kB / 1.355 GB, free: 14.53 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.7879, allocations: 4.031 kB / 1.355 GB, free: 14.52 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.544e-05/0.788, allocations: 120.8 kB / 1.355 GB, free: 14.36 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-07/0.788, allocations: 0 / 1.355 GB, free: 14.36 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.016e-05/0.788, allocations: 0 / 1.355 GB, free: 14.36 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.788, allocations: 0 / 1.355 GB, free: 14.36 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.788, allocations: 11.94 kB / 1.355 GB, free: 14.35 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.788, allocations: 0 / 1.355 GB, free: 14.35 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.788, allocations: 0 / 1.355 GB, free: 14.35 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.843e-05/0.7881, allocations: 65.02 kB / 1.355 GB, free: 14.27 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.869e-06/0.7881, allocations: 4 kB / 1.355 GB, free: 14.27 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.087e-06/0.7881, allocations: 7.969 kB / 1.355 GB, free: 14.26 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.047e-06/0.7881, allocations: 0 / 1.355 GB, free: 14.26 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.268e-05/0.7881, allocations: 0 / 1.355 GB, free: 14.26 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-06/0.7881, allocations: 4 kB / 1.355 GB, free: 14.25 MB / 1.042 GB Notification: Performance of sorting global known variables: time 2.251e-05/0.7881, allocations: 75.28 kB / 1.356 GB, free: 14.18 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.7881, allocations: 0 / 1.356 GB, free: 14.18 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001387/0.7883, allocations: 11.98 kB / 1.356 GB, free: 14.17 MB / 1.042 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.000318/0.7886, allocations: 0.6046 MB / 1.356 GB, free: 13.53 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 6.908e-05/0.7886, allocations: 7.938 kB / 1.356 GB, free: 13.52 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.7886, allocations: 4.094 kB / 1.356 GB, free: 13.52 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 3.958e-06/0.7887, allocations: 4 kB / 1.356 GB, free: 13.52 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001057/0.7888, allocations: 0 / 1.356 GB, free: 13.52 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002622/0.789, allocations: 110.6 kB / 1.356 GB, free: 13.37 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.853e-05/0.7891, allocations: 59.22 kB / 1.356 GB, free: 13.29 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 1.576e-05/0.7891, allocations: 0 / 1.356 GB, free: 13.29 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.536e-05/0.7891, allocations: 7.438 kB / 1.356 GB, free: 13.28 MB / 1.042 GB Notification: Performance of SimCode: time 6.01e-07/0.7891, allocations: 0 / 1.356 GB, free: 13.28 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0828/0.8719, allocations: 1.691 MB / 1.358 GB, free: 11.72 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.738/7.61, allocations: 6.172 kB / 1.358 GB, free: 11.72 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_fmpy.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_fmpy_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ../Buildings_13_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.725676965899765]