Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.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.00113/0.00113, allocations: 80.52 kB / 19.95 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.001381/0.001381, allocations: 173.6 kB / 23.23 MB, free: 1.328 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.8753/0.8753, allocations: 177.2 MB / 203.5 MB, free: 5.754 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.763/1.763, 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.PowerLinearized,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 1.001 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.818e-05/2.021e-05, allocations: 9.734 kB / 1.001 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001506/0.001526, allocations: 0.6071 MB / 1.001 GB, free: 12.85 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0002654/0.001792, allocations: 83.73 kB / 1.001 GB, free: 12.77 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.924e-05/0.001811, allocations: 0 / 1.001 GB, free: 12.77 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.238e-05/0.001823, allocations: 0 / 1.001 GB, free: 12.77 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.402e-05/0.001867, allocations: 0 / 1.001 GB, free: 12.77 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002008/0.002068, allocations: 23.86 kB / 1.001 GB, free: 12.75 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 5.343e-05/0.002121, allocations: 7.938 kB / 1.001 GB, free: 12.74 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.069e-05/0.002162, allocations: 7.969 kB / 1.001 GB, free: 12.73 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.362e-05/0.002196, allocations: 8 kB / 1.001 GB, free: 12.72 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.298e-05/0.002269, allocations: 4 kB / 1.001 GB, free: 12.72 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.002287, allocations: 0 / 1.001 GB, free: 12.72 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.448e-05/0.002351, allocations: 11.98 kB / 1.001 GB, free: 12.71 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.459e-05/0.002366, allocations: 4 kB / 1.001 GB, free: 12.7 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.621e-05/0.002382, allocations: 0 / 1.001 GB, free: 12.7 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.509e-05/0.002477, allocations: 19.95 kB / 1.001 GB, free: 12.68 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.00248, allocations: 4 kB / 1.001 GB, free: 12.68 MB / 0.9636 GB Notification: Performance of FrontEnd: time 5.51e-07/0.002481, allocations: 0 / 1.001 GB, free: 12.68 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.002485, allocations: 0 / 1.001 GB, free: 12.68 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003154/0.0028, allocations: 246.4 kB / 1.002 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.002845, allocations: 13.34 kB / 1.002 GB, free: 12.39 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.502e-05/0.00288, allocations: 34.69 kB / 1.002 GB, free: 12.35 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001384/0.003018, allocations: 8.922 kB / 1.002 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.423e-05/0.003092, allocations: 105.7 kB / 1.002 GB, free: 12.21 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.003113, allocations: 4.375 kB / 1.002 GB, free: 12.21 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.003124, allocations: 4.375 kB / 1.002 GB, free: 12.21 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.003236, allocations: 34.25 kB / 1.002 GB, free: 12.17 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.003245, allocations: 192 / 1.002 GB, free: 12.17 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.003255, allocations: 8.312 kB / 1.002 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.003262, allocations: 8.125 kB / 1.002 GB, free: 12.15 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.438e-05/0.003327, allocations: 11.98 kB / 1.002 GB, free: 12.14 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001354/0.003462, allocations: 120.8 kB / 1.002 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/0.003608, allocations: 50.53 kB / 1.002 GB, free: 11.92 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.883e-05/0.003647, allocations: 12.91 kB / 1.002 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.00366, allocations: 0 / 1.002 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.003682, allocations: 30.56 kB / 1.002 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 1.041e-06/0.003683, allocations: 4 kB / 1.002 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.000191/0.003874, allocations: 57.67 kB / 1.002 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.003912, allocations: 59.34 kB / 1.002 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.715e-05/0.003949, allocations: 93.8 kB / 1.002 GB, free: 11.63 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.003961, allocations: 25.7 kB / 1.002 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.701e-05/0.003988, allocations: 80.14 kB / 1.002 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.805e-05/0.004026, allocations: 11.84 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.664e-05/0.004063, allocations: 17.72 kB / 1.002 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.004165, allocations: 314.8 kB / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.988e-05/0.004195, allocations: 4 kB / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.532e-05/0.004221, allocations: 15.98 kB / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.232e-05/0.004283, allocations: 20.86 kB / 1.003 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.004285, allocations: 0 / 1.003 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.515e-05/0.00438, allocations: 49.67 kB / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.004394, allocations: 4 kB / 1.003 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.004399, allocations: 0 / 1.003 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.004411, allocations: 0 / 1.003 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002934/0.004704, allocations: 47.88 kB / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009769/0.005681, allocations: 1.301 MB / 1.004 GB, free: 9.598 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.569e-05/0.005697, allocations: 0 / 1.004 GB, free: 9.598 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.792e-06/0.005704, allocations: 8.031 kB / 1.004 GB, free: 9.59 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 5.96e-05/0.005763, allocations: 117.7 kB / 1.004 GB, free: 9.465 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.829e-06/0.005768, allocations: 0 / 1.004 GB, free: 9.465 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.155e-06/0.005776, allocations: 3.531 kB / 1.004 GB, free: 9.461 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.005779, allocations: 7.984 kB / 1.004 GB, free: 9.453 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.005781, allocations: 4.422 kB / 1.004 GB, free: 9.449 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.005783, allocations: 0 / 1.004 GB, free: 9.449 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.931e-05/0.005842, allocations: 124.7 kB / 1.004 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.005843, allocations: 0 / 1.004 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001794/0.006023, allocations: 47.92 kB / 1.004 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.006026, allocations: 3.984 kB / 1.004 GB, free: 9.234 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.006032, allocations: 4 kB / 1.004 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006755/0.006708, allocations: 1.302 MB / 1.006 GB, free: 7.816 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.006709, allocations: 3.938 kB / 1.006 GB, free: 7.812 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.037e-05/0.00678, allocations: 73.05 kB / 1.006 GB, free: 7.723 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.196e-06/0.006783, allocations: 4 kB / 1.006 GB, free: 7.719 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.706e-06/0.006787, allocations: 0 / 1.006 GB, free: 7.719 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.284e-05/0.006799, allocations: 3.984 kB / 1.006 GB, free: 7.715 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.02e-05/0.00682, allocations: 11.94 kB / 1.006 GB, free: 7.703 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.006823, allocations: 0 / 1.006 GB, free: 7.703 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 1.963e-05/0.006843, allocations: 75.28 kB / 1.006 GB, free: 7.629 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2e-08/0.006843, allocations: 0 / 1.006 GB, free: 7.629 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.00014/0.006983, allocations: 12 kB / 1.006 GB, free: 7.617 MB / 0.9636 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000245/0.007228, allocations: 0.6085 MB / 1.007 GB, free: 6.98 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000246/0.007474, allocations: 63.91 kB / 1.007 GB, free: 6.918 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.007475, allocations: 4 kB / 1.007 GB, free: 6.914 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001214/0.007597, allocations: 39.89 kB / 1.007 GB, free: 6.875 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001043/0.007701, allocations: 7.938 kB / 1.007 GB, free: 6.867 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003191/0.00802, allocations: 123.5 kB / 1.007 GB, free: 6.707 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.153e-05/0.008051, allocations: 55.36 kB / 1.007 GB, free: 6.633 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.43e-05/0.008076, allocations: 11.98 kB / 1.007 GB, free: 6.621 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.722e-05/0.008103, allocations: 8.781 kB / 1.007 GB, free: 6.613 MB / 0.9636 GB Notification: Performance of SimCode: time 5.51e-07/0.008103, allocations: 3.938 kB / 1.007 GB, free: 6.609 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0748/0.0829, allocations: 1.895 MB / 1.009 GB, free: 4.852 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.069/8.152, allocations: 9.109 kB / 1.009 GB, free: 4.848 MB / 0.9636 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Utilities_Math_Functions_Examples_PowerLinearized.fmu) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_fmpy.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Utilities_Math_Functions_Examples_PowerLinearized.fmu) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.PowerLinearized_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.467597234994173]