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.001369/0.001369, allocations: 109 kB / 20.48 MB, free: 1.473 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.001435/0.001435, allocations: 211.5 kB / 23.79 MB, free: 4.684 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.483/1.483, allocations: 230.6 MB / 257.6 MB, free: 8.02 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.009/1.009, allocations: 150 MB / 464 MB, free: 10.51 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="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.002029/0.002029, allocations: 62.41 kB / 0.6421 GB, free: 10.36 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.1835, allocations: 89.18 MB / 0.7291 GB, free: 1.262 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001784/0.1852, allocations: 0.5915 MB / 0.7297 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003068/0.1855, allocations: 99.64 kB / 0.7298 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.153e-05/0.1856, allocations: 0 / 0.7298 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.239e-05/0.1856, allocations: 0 / 0.7298 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.861e-05/0.1856, allocations: 4 kB / 0.7298 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002228/0.1858, allocations: 19.92 kB / 0.7298 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.019e-05/0.1859, allocations: 8 kB / 0.7299 GB, free: 0.543 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.279e-05/0.186, allocations: 4 kB / 0.7299 GB, free: 0.5391 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.26e-05/0.186, allocations: 3.984 kB / 0.7299 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.393e-05/0.1861, allocations: 7.984 kB / 0.7299 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.1861, allocations: 0 / 0.7299 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.221e-05/0.1861, allocations: 15.98 kB / 0.7299 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.234e-05/0.1862, allocations: 0 / 0.7299 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.937e-05/0.1862, allocations: 3.938 kB / 0.7299 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001006/0.1863, allocations: 20.27 kB / 0.7299 GB, free: 500 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1863, allocations: 0 / 0.7299 GB, free: 500 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.974e-06/0.1863, allocations: 0 / 0.7299 GB, free: 500 kB / 0.545 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.1863, allocations: 0 / 0.7299 GB, free: 500 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.0003717/0.1867, allocations: 242.4 kB / 0.7301 GB, free: 224 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.1867, allocations: 8.031 kB / 0.7301 GB, free: 216 kB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.793e-05/0.1867, allocations: 4.188 kB / 0.7301 GB, free: 212 kB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.263e-05/0.1868, allocations: 30.75 kB / 0.7302 GB, free: 172 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001482/0.1869, allocations: 12.92 kB / 0.7302 GB, free: 160 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.496e-05/0.187, allocations: 106.5 kB / 0.7303 GB, free: 28 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.187, allocations: 384 / 0.7303 GB, free: 28 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.187, allocations: 4.312 kB / 0.7303 GB, free: 24 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.1872, allocations: 49.94 kB / 0.7303 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.1872, allocations: 3.938 kB / 0.7303 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.1872, allocations: 7.984 kB / 0.7304 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.1872, allocations: 0 / 0.7304 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.744e-05/0.1873, allocations: 15.98 kB / 0.7304 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001725/0.1875, allocations: 128.7 kB / 0.7305 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.1876, allocations: 42.53 kB / 0.7305 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.008e-05/0.1877, allocations: 12.92 kB / 0.7305 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.169e-05/0.1877, allocations: 0 / 0.7305 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.1877, allocations: 38.5 kB / 0.7306 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 6.41e-07/0.1877, allocations: 0 / 0.7306 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0002272/0.188, allocations: 57.62 kB / 0.7306 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.188, allocations: 55.41 kB / 0.7307 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.576e-05/0.188, allocations: 93.86 kB / 0.7308 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.1881, allocations: 25.7 kB / 0.7308 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.408e-05/0.1881, allocations: 80.14 kB / 0.7309 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.281e-05/0.1881, allocations: 7.938 kB / 0.7309 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.665e-05/0.1882, allocations: 21.72 kB / 0.7309 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.1883, allocations: 310.8 kB / 0.7312 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.14e-05/0.1884, allocations: 11.92 kB / 0.7312 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.184e-05/0.1884, allocations: 4 kB / 0.7312 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.707e-05/0.1885, allocations: 25.11 kB / 0.7312 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1885, allocations: 0 / 0.7312 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001234/0.1886, allocations: 45.69 kB / 0.7313 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.1886, allocations: 15.94 kB / 0.7313 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.1886, allocations: 0 / 0.7313 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.1886, allocations: 0 / 0.7313 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003984/0.189, allocations: 43.92 kB / 0.7313 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001578/0.1906, allocations: 1.305 MB / 0.7326 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.84e-05/0.1906, allocations: 0 / 0.7326 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.839e-06/0.1907, allocations: 4.031 kB / 0.7326 GB, free: 13.39 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.0001071/0.1908, allocations: 109.8 kB / 0.7327 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.247e-06/0.1908, allocations: 0 / 0.7327 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.467e-05/0.1908, allocations: 11.62 kB / 0.7327 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.1908, allocations: 3.938 kB / 0.7327 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.686e-06/0.1908, allocations: 4 kB / 0.7327 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1908, allocations: 3.938 kB / 0.7328 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001375/0.1909, allocations: 124.7 kB / 0.7329 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1909, allocations: 0 / 0.7329 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003941/0.1913, allocations: 47.92 kB / 0.7329 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1913, allocations: 4 kB / 0.7329 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.1913, allocations: 4 kB / 0.7329 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001335/0.1927, allocations: 1.309 MB / 0.7342 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1927, allocations: 8.062 kB / 0.7342 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001444/0.1928, allocations: 65.16 kB / 0.7343 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.143e-05/0.1928, allocations: 11.89 kB / 0.7343 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.803e-06/0.1928, allocations: 0 / 0.7343 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.795e-05/0.1929, allocations: 3.984 kB / 0.7343 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.143e-05/0.1929, allocations: 4 kB / 0.7343 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.1929, allocations: 4 kB / 0.7343 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.821e-05/0.1929, allocations: 79.28 kB / 0.7344 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1929, allocations: 0 / 0.7344 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002104/0.1931, allocations: 4 kB / 0.7344 GB, free: 11.41 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.0005564/0.1937, allocations: 0.6124 MB / 0.735 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004931/0.1942, allocations: 63.91 kB / 0.735 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.1942, allocations: 0 / 0.735 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002434/0.1944, allocations: 39.89 kB / 0.7351 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001365/0.1946, allocations: 8 kB / 0.7351 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004714/0.195, allocations: 118.6 kB / 0.7352 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003327/0.1954, allocations: 0.6767 MB / 0.7359 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.059e-05/0.1954, allocations: 7.984 kB / 0.7359 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.769e-05/0.1954, allocations: 15.44 kB / 0.7359 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of SimCode: time 2.9e-07/0.1954, allocations: 0 / 0.7359 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0215/0.2169, allocations: 1.355 MB / 0.7372 GB, free: 8.578 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.66/12.88, allocations: 10.11 kB / 0.7372 GB, free: 8.57 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.751290945976507] Failed to read output from testmodel.py, exit status != 0: 13.044845063996036 13.061141496 12.871636888 Calling exit ...