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.001213/0.001213, allocations: 119 kB / 19.69 MB, free: 2.199 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.001434/0.001434, allocations: 221.6 kB / 23.01 MB, free: 5.047 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.477/1.477, allocations: 230.6 MB / 256.8 MB, free: 7.957 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 0.9861/0.9861, allocations: 150 MB / 463.2 MB, free: 10.44 MB / 366.1 MB " [Timeout remaining time 179] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",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.002091/0.002091, allocations: 62 kB / 0.6413 GB, free: 10.25 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.1864, allocations: 89.18 MB / 0.7284 GB, free: 1.129 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized): time 0.002075/0.1884, allocations: 0.5901 MB / 0.729 GB, free: 0.543 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003248/0.1888, allocations: 91.72 kB / 0.7291 GB, free: 464 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.964e-05/0.1888, allocations: 4 kB / 0.7291 GB, free: 460 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.795e-05/0.1888, allocations: 3.938 kB / 0.7291 GB, free: 456 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.87e-05/0.1888, allocations: 0 / 0.7291 GB, free: 456 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001985/0.189, allocations: 19.97 kB / 0.7291 GB, free: 436 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.464e-05/0.1891, allocations: 8 kB / 0.7291 GB, free: 428 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.481e-05/0.1891, allocations: 3.984 kB / 0.7291 GB, free: 424 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.854e-05/0.1892, allocations: 4 kB / 0.7291 GB, free: 420 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.063e-05/0.1892, allocations: 3.938 kB / 0.7291 GB, free: 416 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.101e-05/0.1892, allocations: 4 kB / 0.7291 GB, free: 412 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.861e-05/0.1893, allocations: 11.98 kB / 0.7291 GB, free: 400 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.404e-05/0.1893, allocations: 11.94 kB / 0.7291 GB, free: 388 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.852e-05/0.1893, allocations: 0 / 0.7291 GB, free: 388 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.407e-05/0.1894, allocations: 16.25 kB / 0.7291 GB, free: 372 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.1894, allocations: 0 / 0.7291 GB, free: 372 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.183e-06/0.1894, allocations: 0 / 0.7291 GB, free: 372 kB / 0.545 GB Notification: Performance of Transformations before backend: time 8.897e-06/0.1894, allocations: 0 / 0.7291 GB, free: 372 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.0003863/0.1898, allocations: 246.4 kB / 0.7294 GB, free: 92 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.1899, allocations: 12.03 kB / 0.7294 GB, free: 80 kB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.365e-05/0.1899, allocations: 34.73 kB / 0.7294 GB, free: 36 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001513/0.19, allocations: 12.92 kB / 0.7294 GB, free: 24 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.902e-05/0.1901, allocations: 102.5 kB / 0.7295 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.1902, allocations: 4.359 kB / 0.7295 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.1902, allocations: 8.312 kB / 0.7295 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.1903, allocations: 38.25 kB / 0.7296 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.1903, allocations: 3.938 kB / 0.7296 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.1903, allocations: 3.938 kB / 0.7296 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.1903, allocations: 3.938 kB / 0.7296 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.806e-05/0.1904, allocations: 19.98 kB / 0.7296 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001733/0.1906, allocations: 120.7 kB / 0.7297 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.1908, allocations: 42.59 kB / 0.7298 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.934e-05/0.1908, allocations: 12.91 kB / 0.7298 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.1908, allocations: 4 kB / 0.7298 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.112e-05/0.1909, allocations: 34.56 kB / 0.7298 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.1909, allocations: 0 / 0.7298 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0002295/0.1911, allocations: 65.52 kB / 0.7299 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/0.1912, allocations: 55.39 kB / 0.7299 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.978e-05/0.1913, allocations: 89.86 kB / 0.73 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.1913, allocations: 25.7 kB / 0.73 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.431e-05/0.1913, allocations: 80.14 kB / 0.7301 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.769e-05/0.1913, allocations: 7.953 kB / 0.7301 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-05/0.1914, allocations: 17.72 kB / 0.7301 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.1915, allocations: 310.8 kB / 0.7304 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.849e-05/0.1916, allocations: 7.984 kB / 0.7304 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.222e-05/0.1916, allocations: 8 kB / 0.7305 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.563e-05/0.1917, allocations: 28.78 kB / 0.7305 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.1917, allocations: 4 kB / 0.7305 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001184/0.1918, allocations: 49.67 kB / 0.7305 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.1918, allocations: 8 kB / 0.7305 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.1918, allocations: 3.938 kB / 0.7305 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.1918, allocations: 0 / 0.7305 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003869/0.1922, allocations: 39.94 kB / 0.7306 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001516/0.1937, allocations: 1.305 MB / 0.7319 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.12e-05/0.1938, allocations: 4.031 kB / 0.7319 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.1938, allocations: 0 / 0.7319 GB, free: 13.27 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 9.278e-05/0.1939, allocations: 109.8 kB / 0.732 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.018e-05/0.1939, allocations: 4.094 kB / 0.732 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.423e-05/0.1939, allocations: 11.53 kB / 0.732 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.1939, allocations: 0 / 0.732 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.1939, allocations: 7.922 kB / 0.732 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.1939, allocations: 0 / 0.732 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/0.194, allocations: 120.7 kB / 0.7321 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.194, allocations: 0 / 0.7321 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004149/0.1944, allocations: 55.92 kB / 0.7322 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1944, allocations: 0 / 0.7322 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.1944, allocations: 0 / 0.7322 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00135/0.1958, allocations: 1.305 MB / 0.7334 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1958, allocations: 4.125 kB / 0.7334 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001313/0.1959, allocations: 77.03 kB / 0.7335 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.656e-06/0.1959, allocations: 7.938 kB / 0.7335 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.698e-06/0.1959, allocations: 7.938 kB / 0.7335 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.952e-05/0.196, allocations: 4 kB / 0.7335 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.304e-05/0.196, allocations: 48 / 0.7335 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.196, allocations: 3.984 kB / 0.7335 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.418e-05/0.196, allocations: 79.28 kB / 0.7336 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5e-08/0.196, allocations: 0 / 0.7336 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000192/0.1962, allocations: 4 kB / 0.7336 GB, free: 11.29 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.0004677/0.1967, allocations: 0.6163 MB / 0.7342 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004647/0.1971, allocations: 59.91 kB / 0.7343 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1971, allocations: 0 / 0.7343 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002567/0.1974, allocations: 43.94 kB / 0.7343 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001262/0.1975, allocations: 0 / 0.7343 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004325/0.198, allocations: 122.6 kB / 0.7344 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003746/0.1983, allocations: 0.6768 MB / 0.7351 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.089e-05/0.1984, allocations: 7.938 kB / 0.7351 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.452e-05/0.1984, allocations: 15.44 kB / 0.7351 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/0.1984, allocations: 0 / 0.7351 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05111/0.2495, allocations: 1.323 MB / 0.7364 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.77/13.02, allocations: 5.344 kB / 0.7364 GB, free: 8.465 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.788832861930132] Failed to read output from testmodel.py, exit status != 0: 13.137382867047563 13.161774489 12.967896533 Calling exit ...