Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.001606/0.001606, allocations: 105 kB / 20.48 MB, free: 1.488 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.001417/0.001417, allocations: 212.9 kB / 23.79 MB, free: 4.703 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.523/1.523, allocations: 230.6 MB / 257.6 MB, free: 8.004 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.029/1.029, allocations: 150 MB / 463.9 MB, free: 10.5 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.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",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.002047/0.002047, allocations: 66.72 kB / 0.6421 GB, free: 10.32 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.1811, allocations: 89.17 MB / 0.7292 GB, free: 1.215 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.00183/0.1829, allocations: 0.6255 MB / 0.7298 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0007218/0.1836, allocations: 366.7 kB / 0.7301 GB, free: 240 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.428e-05/0.1836, allocations: 0 / 0.7301 GB, free: 240 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.844e-05/0.1837, allocations: 3.938 kB / 0.7301 GB, free: 236 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.111e-05/0.1837, allocations: 0 / 0.7301 GB, free: 236 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004561/0.1841, allocations: 111.7 kB / 0.7302 GB, free: 124 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.127e-05/0.1842, allocations: 19.92 kB / 0.7303 GB, free: 104 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.391e-05/0.1842, allocations: 11.98 kB / 0.7303 GB, free: 92 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.93e-05/0.1843, allocations: 11.94 kB / 0.7303 GB, free: 80 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.784e-05/0.1843, allocations: 19.91 kB / 0.7303 GB, free: 60 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.105e-05/0.1844, allocations: 0 / 0.7303 GB, free: 60 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004507/0.1848, allocations: 275.7 kB / 0.7306 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.674e-05/0.1848, allocations: 8 kB / 0.7306 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.778e-05/0.1848, allocations: 11.92 kB / 0.7306 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002096/0.1851, allocations: 107.9 kB / 0.7307 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1851, allocations: 0 / 0.7307 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1851, allocations: 0 / 0.7307 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.1851, allocations: 0 / 0.7307 GB, free: 15.66 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000411/0.1855, allocations: 290 kB / 0.731 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.1855, allocations: 11.97 kB / 0.731 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.414e-05/0.1855, allocations: 4.188 kB / 0.731 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.478e-05/0.1856, allocations: 34.75 kB / 0.731 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.268e-05/0.1856, allocations: 4.875 kB / 0.731 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.1857, allocations: 114.4 kB / 0.7311 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.1857, allocations: 4.375 kB / 0.7311 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.1858, allocations: 4.375 kB / 0.7311 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.1859, allocations: 57.98 kB / 0.7312 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.1859, allocations: 0 / 0.7312 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.1859, allocations: 4 kB / 0.7312 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.1859, allocations: 0 / 0.7312 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.215e-05/0.186, allocations: 23.97 kB / 0.7312 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001683/0.1861, allocations: 132.8 kB / 0.7313 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.1862, allocations: 54.5 kB / 0.7314 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.542e-05/0.1863, allocations: 28.84 kB / 0.7314 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005105/0.1868, allocations: 83.91 kB / 0.7315 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.1868, allocations: 34.5 kB / 0.7315 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.1868, allocations: 4 kB / 0.7315 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.001206/0.188, allocations: 455.8 kB / 0.732 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.1881, allocations: 55.41 kB / 0.732 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.682e-05/0.1881, allocations: 93.86 kB / 0.7321 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.1882, allocations: 33.7 kB / 0.7321 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.715e-05/0.1882, allocations: 80.14 kB / 0.7322 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.48e-05/0.1882, allocations: 35.69 kB / 0.7322 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.684e-05/0.1883, allocations: 29.7 kB / 0.7323 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.1884, allocations: 318.8 kB / 0.7326 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.116e-05/0.1885, allocations: 19.98 kB / 0.7326 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.872e-05/0.1885, allocations: 23.92 kB / 0.7326 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.495e-05/0.1886, allocations: 56.86 kB / 0.7327 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.1886, allocations: 4 kB / 0.7327 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001603/0.1888, allocations: 97.58 kB / 0.7328 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.1888, allocations: 8 kB / 0.7328 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.788e-06/0.1888, allocations: 0 / 0.7328 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.1888, allocations: 3.984 kB / 0.7328 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.1889, allocations: 23.94 kB / 0.7328 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.1889, allocations: 96 / 0.7328 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.275e-05/0.1889, allocations: 3.938 kB / 0.7328 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.1889, allocations: 11.94 kB / 0.7328 GB, free: 13.22 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 (13): * Single equations (assignments): 13 * 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 8.958e-05/0.189, allocations: 125.8 kB / 0.7329 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.048e-05/0.1891, allocations: 7.953 kB / 0.733 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001925/0.1893, allocations: 101.7 kB / 0.733 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.1893, allocations: 0 / 0.733 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.1893, allocations: 0 / 0.733 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.1893, allocations: 0 / 0.733 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004103/0.1897, allocations: 331.2 kB / 0.7334 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1897, allocations: 0 / 0.7334 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/0.1898, allocations: 23.92 kB / 0.7334 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.1898, allocations: 8 kB / 0.7334 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.1898, allocations: 4 kB / 0.7334 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1898, allocations: 0 / 0.7334 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1898, allocations: 0 / 0.7334 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002988/0.1901, allocations: 225.1 kB / 0.7336 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.732e-05/0.1901, allocations: 15.97 kB / 0.7336 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.1902, allocations: 0 / 0.7336 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.617e-05/0.1903, allocations: 8 kB / 0.7336 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.922e-05/0.1903, allocations: 8.047 kB / 0.7336 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.1903, allocations: 4 kB / 0.7336 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.608e-05/0.1903, allocations: 79.28 kB / 0.7337 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1903, allocations: 0 / 0.7337 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000297/0.1906, allocations: 51.8 kB / 0.7338 GB, free: 12.16 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0007385/0.1914, allocations: 0.7837 MB / 0.7345 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001635/0.1915, allocations: 59.91 kB / 0.7346 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1915, allocations: 0 / 0.7346 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.462e-05/0.1916, allocations: 34.22 kB / 0.7346 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/0.1918, allocations: 4 kB / 0.7346 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/0.1933, allocations: 1.402 MB / 0.736 GB, free: 9.781 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003537/0.1937, allocations: 0.6932 MB / 0.7367 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.854e-05/0.1937, allocations: 16.27 kB / 0.7367 GB, free: 9.047 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.065e-05/0.1938, allocations: 19.42 kB / 0.7367 GB, free: 9.027 MB / 0.5606 GB Notification: Performance of SimCode: time 4.11e-07/0.1938, allocations: 3.938 kB / 0.7367 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02408/0.2179, allocations: 2.642 MB / 0.7393 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.56, allocations: 15.42 kB / 0.7393 GB, free: 6.551 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.50533729599556] Failed to read output from testmodel.py, exit status != 0: 11.739458310010377 11.755849014 11.567451001 Calling exit ...