Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001454/0.001454, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001515/0.001515, allocations: 214.3 kB / 23.78 MB, free: 4.555 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.468/1.468, allocations: 230.6 MB / 257.5 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.057/1.057, allocations: 150 MB / 463.9 MB, free: 10.24 MB / 366.1 MB " [Timeout remaining time 178] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002112/0.002112, allocations: 65.22 kB / 0.642 GB, free: 9.918 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1874/0.1895, allocations: 89.18 MB / 0.7291 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized): time 0.002189/0.1917, allocations: 0.5908 MB / 0.7297 GB, free: 228 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003229/0.192, allocations: 79.75 kB / 0.7297 GB, free: 148 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.643e-05/0.192, allocations: 4 kB / 0.7297 GB, free: 144 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.398e-05/0.192, allocations: 0 / 0.7297 GB, free: 144 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.191e-05/0.1921, allocations: 4 kB / 0.7297 GB, free: 140 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002373/0.1923, allocations: 23.91 kB / 0.7298 GB, free: 116 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.318e-05/0.1924, allocations: 8 kB / 0.7298 GB, free: 108 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.606e-05/0.1924, allocations: 0 / 0.7298 GB, free: 108 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.002e-05/0.1925, allocations: 4 kB / 0.7298 GB, free: 104 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.843e-05/0.1925, allocations: 7.984 kB / 0.7298 GB, free: 96 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.1925, allocations: 0 / 0.7298 GB, free: 96 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.744e-05/0.1926, allocations: 11.98 kB / 0.7298 GB, free: 84 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.661e-05/0.1926, allocations: 11.94 kB / 0.7298 GB, free: 72 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.613e-05/0.1926, allocations: 0 / 0.7298 GB, free: 72 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.307e-05/0.1927, allocations: 15.97 kB / 0.7298 GB, free: 56 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1927, allocations: 0 / 0.7298 GB, free: 56 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1927, allocations: 0 / 0.7298 GB, free: 56 kB / 0.545 GB Notification: Performance of Transformations before backend: time 1.063e-05/0.1928, allocations: 4 kB / 0.7298 GB, free: 52 kB / 0.545 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.0004617/0.1932, allocations: 238.7 kB / 0.7301 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.523e-05/0.1933, allocations: 12.03 kB / 0.7301 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.641e-05/0.1933, allocations: 192 / 0.7301 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.819e-05/0.1933, allocations: 34.75 kB / 0.7301 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001827/0.1935, allocations: 16.86 kB / 0.7301 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.1936, allocations: 106.5 kB / 0.7302 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.487e-05/0.1936, allocations: 384 / 0.7302 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.1937, allocations: 4.312 kB / 0.7302 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.1938, allocations: 46 kB / 0.7303 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.1938, allocations: 0 / 0.7303 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.1939, allocations: 3.984 kB / 0.7303 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.1939, allocations: 0 / 0.7303 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.036e-05/0.194, allocations: 11.98 kB / 0.7303 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002166/0.1942, allocations: 128.8 kB / 0.7304 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002186/0.1944, allocations: 42.53 kB / 0.7304 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.261e-05/0.1944, allocations: 12.92 kB / 0.7305 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.1945, allocations: 0 / 0.7305 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.068e-05/0.1945, allocations: 38.5 kB / 0.7305 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.1945, allocations: 0 / 0.7305 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.00028/0.1948, allocations: 61.56 kB / 0.7306 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.16e-05/0.1948, allocations: 51.41 kB / 0.7306 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.356e-05/0.1949, allocations: 97.86 kB / 0.7307 GB, free: 15 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.1949, allocations: 29.64 kB / 0.7307 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.378e-05/0.195, allocations: 80.14 kB / 0.7308 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.265e-05/0.195, allocations: 15.88 kB / 0.7308 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.54e-05/0.1951, allocations: 13.72 kB / 0.7308 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.1952, allocations: 314.8 kB / 0.7311 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.929e-05/0.1952, allocations: 4 kB / 0.7311 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.451e-05/0.1953, allocations: 7.984 kB / 0.7311 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.273e-05/0.1954, allocations: 20.84 kB / 0.7312 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1954, allocations: 4 kB / 0.7312 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000118/0.1955, allocations: 49.91 kB / 0.7312 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.1955, allocations: 10.12 kB / 0.7312 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.1955, allocations: 48 / 0.7312 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/0.1955, allocations: 7.984 kB / 0.7312 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004249/0.196, allocations: 43.92 kB / 0.7313 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001561/0.1975, allocations: 1.297 MB / 0.7325 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.137e-05/0.1975, allocations: 8.094 kB / 0.7325 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.1976, allocations: 0 / 0.7325 GB, free: 12.96 MB / 0.5606 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 0.0001127/0.1977, allocations: 113.8 kB / 0.7327 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.955e-06/0.1977, allocations: 0 / 0.7327 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.737e-05/0.1977, allocations: 11.53 kB / 0.7327 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.1977, allocations: 0 / 0.7327 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-06/0.1977, allocations: 3.938 kB / 0.7327 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1977, allocations: 0 / 0.7327 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/0.1978, allocations: 120.7 kB / 0.7328 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1978, allocations: 0 / 0.7328 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000352/0.1982, allocations: 51.92 kB / 0.7328 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1982, allocations: 0 / 0.7328 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.1982, allocations: 0 / 0.7328 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001332/0.1995, allocations: 1.313 MB / 0.7341 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1995, allocations: 0 / 0.7341 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001347/0.1997, allocations: 73.3 kB / 0.7342 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.051e-05/0.1997, allocations: 19.88 kB / 0.7342 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.542e-06/0.1997, allocations: 0 / 0.7342 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.6e-05/0.1997, allocations: 0 / 0.7342 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.759e-05/0.1997, allocations: 7.938 kB / 0.7342 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.1997, allocations: 4 kB / 0.7342 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.297e-05/0.1998, allocations: 75.28 kB / 0.7343 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1998, allocations: 0 / 0.7343 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001936/0.2, allocations: 4 kB / 0.7343 GB, free: 10.98 MB / 0.5606 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.0004779/0.2005, allocations: 0.6124 MB / 0.7349 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004709/0.2009, allocations: 63.78 kB / 0.7349 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2009, allocations: 0 / 0.7349 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002784/0.2012, allocations: 43.95 kB / 0.735 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001463/0.2014, allocations: 4 kB / 0.735 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005895/0.2019, allocations: 126.5 kB / 0.7351 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.62e-05/0.202, allocations: 63.28 kB / 0.7352 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.279e-05/0.202, allocations: 4 kB / 0.7352 GB, free: 9.98 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.112e-05/0.2021, allocations: 11.44 kB / 0.7352 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of SimCode: time 7.21e-07/0.2021, allocations: 0 / 0.7352 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02462/0.2267, allocations: 1.428 MB / 0.7366 GB, free: 8.691 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/13.03, allocations: 16.64 kB / 0.7366 GB, free: 8.684 MB / 0.5606 GB " [Timeout remaining time 647] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.97712354909163] Failed to read output from testmodel.py, exit status != 0: 13.2037741439417 13.226306016 13.029262752 Calling exit ...