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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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="me",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="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00187/0.001871, allocations: 107.2 kB / 16.4 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001979/0.001979, allocations: 195.9 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.866/1.866, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8095/0.8095, allocations: 115.3 MB / 406.5 MB, free: 6.215 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002406/0.002406, allocations: 67.33 kB / 0.5572 GB, free: 32.42 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1877, allocations: 76.18 MB / 0.6316 GB, free: 4.863 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.002659/0.1904, allocations: 0.6029 MB / 0.6322 GB, free: 4.266 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001126/0.1916, allocations: 355 kB / 0.6326 GB, free: 3.918 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.873e-05/0.1917, allocations: 3.938 kB / 0.6326 GB, free: 3.914 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 4.552e-05/0.1917, allocations: 3.938 kB / 0.6326 GB, free: 3.91 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 3.961e-05/0.1919, allocations: 0 / 0.6326 GB, free: 3.91 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008205/0.1927, allocations: 134 kB / 0.6327 GB, free: 3.781 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 9.594e-05/0.1928, allocations: 15.98 kB / 0.6327 GB, free: 3.766 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.819e-05/0.1929, allocations: 4 kB / 0.6327 GB, free: 3.762 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.915e-05/0.1929, allocations: 11.94 kB / 0.6327 GB, free: 3.75 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.466e-05/0.193, allocations: 11.97 kB / 0.6327 GB, free: 3.738 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.373e-05/0.1931, allocations: 0 / 0.6327 GB, free: 3.738 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006465/0.1937, allocations: 283.6 kB / 0.633 GB, free: 3.461 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 3.936e-05/0.1938, allocations: 4 kB / 0.633 GB, free: 3.457 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.818e-05/0.1938, allocations: 11.94 kB / 0.633 GB, free: 3.445 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003161/0.1942, allocations: 107.8 kB / 0.6331 GB, free: 3.34 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.892e-06/0.1942, allocations: 0 / 0.6331 GB, free: 3.34 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1942, allocations: 4 kB / 0.6331 GB, free: 3.336 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.735e-06/0.1942, allocations: 0 / 0.6331 GB, free: 3.336 MB / 478.1 MB 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.0007885/0.195, allocations: 354.3 kB / 0.6335 GB, free: 2.941 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.541e-05/0.1951, allocations: 15.95 kB / 0.6335 GB, free: 2.926 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.126e-05/0.1952, allocations: 34.75 kB / 0.6335 GB, free: 2.883 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/0.1953, allocations: 8.922 kB / 0.6335 GB, free: 2.875 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/0.1955, allocations: 160.4 kB / 0.6337 GB, free: 2.68 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.1955, allocations: 4.375 kB / 0.6337 GB, free: 2.676 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.473e-05/0.1956, allocations: 8.375 kB / 0.6337 GB, free: 2.668 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002235/0.1958, allocations: 50.23 kB / 0.6337 GB, free: 2.613 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.842e-05/0.1959, allocations: 11.84 kB / 0.6338 GB, free: 2.602 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.803e-05/0.1959, allocations: 0 / 0.6338 GB, free: 2.602 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.1959, allocations: 0 / 0.6338 GB, free: 2.602 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.303e-05/0.196, allocations: 23.92 kB / 0.6338 GB, free: 2.578 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003171/0.1964, allocations: 166.5 kB / 0.6339 GB, free: 2.367 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001649/0.1965, allocations: 58.56 kB / 0.634 GB, free: 2.301 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.527e-05/0.1966, allocations: 32.84 kB / 0.634 GB, free: 2.266 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009043/0.1975, allocations: 461.4 kB / 0.6345 GB, free: 1.723 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.58e-05/0.1976, allocations: 38.56 kB / 0.6345 GB, free: 1.676 MB / 478.1 MB Notification: Performance of pre-optimization done (n=7): time 2.093e-06/0.1976, allocations: 0 / 0.6345 GB, free: 1.676 MB / 478.1 MB Notification: Performance of matching and sorting (n=11): time 0.001555/0.1992, allocations: 0.5839 MB / 0.6351 GB, free: 1 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.1992, allocations: 59.34 kB / 0.6351 GB, free: 0.9297 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.235e-05/0.1993, allocations: 109.8 kB / 0.6352 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.1993, allocations: 25.7 kB / 0.6353 GB, free: 0.7812 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.355e-05/0.1994, allocations: 80.14 kB / 0.6353 GB, free: 0.6992 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.151e-05/0.1995, allocations: 39.45 kB / 0.6354 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.002e-05/0.1995, allocations: 29.7 kB / 0.6354 GB, free: 0.625 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.1997, allocations: 318.8 kB / 0.6357 GB, free: 312 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.304e-05/0.1998, allocations: 23.98 kB / 0.6357 GB, free: 288 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.445e-05/0.1998, allocations: 19.98 kB / 0.6357 GB, free: 268 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.1999, allocations: 56.86 kB / 0.6358 GB, free: 208 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1999, allocations: 0 / 0.6358 GB, free: 208 kB / 478.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001786/0.2001, allocations: 104.2 kB / 0.6359 GB, free: 100 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.2001, allocations: 4 kB / 0.6359 GB, free: 96 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.2001, allocations: 3.984 kB / 0.6359 GB, free: 92 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.2002, allocations: 0 / 0.6359 GB, free: 92 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.2003, allocations: 24 kB / 0.6359 GB, free: 68 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/0.2003, allocations: 3.984 kB / 0.6359 GB, free: 64 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.454e-05/0.2003, allocations: 0 / 0.6359 GB, free: 64 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.2004, allocations: 8 kB / 0.6359 GB, free: 56 kB / 478.1 MB 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 0.0001331/0.2005, allocations: 121.8 kB / 0.6361 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.181e-05/0.2005, allocations: 11.84 kB / 0.6361 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002071/0.2008, allocations: 109.5 kB / 0.6362 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.2008, allocations: 0 / 0.6362 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.2008, allocations: 0 / 0.6362 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.2008, allocations: 3.984 kB / 0.6362 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004992/0.2013, allocations: 350.5 kB / 0.6365 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.2013, allocations: 3.984 kB / 0.6365 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.2014, allocations: 16 kB / 0.6365 GB, free: 15.37 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.2014, allocations: 8 kB / 0.6365 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.2015, allocations: 4 kB / 0.6365 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2015, allocations: 0 / 0.6365 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.2015, allocations: 0 / 0.6365 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003106/0.2018, allocations: 227.3 kB / 0.6368 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.02e-05/0.2019, allocations: 89.16 kB / 0.6368 GB, free: 15.02 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.2019, allocations: 7.938 kB / 0.6368 GB, free: 15.01 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.202, allocations: 64 / 0.6368 GB, free: 15.01 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.045e-05/0.2021, allocations: 11.98 kB / 0.6369 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.2021, allocations: 4 kB / 0.6369 GB, free: 14.99 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.555e-05/0.2021, allocations: 83.28 kB / 0.6369 GB, free: 14.91 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2021, allocations: 0 / 0.6369 GB, free: 14.91 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003289/0.2025, allocations: 43.98 kB / 0.637 GB, free: 14.87 MB / 494.1 MB 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.0008045/0.2033, allocations: 0.7943 MB / 0.6378 GB, free: 14.05 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001763/0.2035, allocations: 55.97 kB / 0.6378 GB, free: 13.99 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.2035, allocations: 4 kB / 0.6378 GB, free: 13.99 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.014e-05/0.2035, allocations: 35.86 kB / 0.6379 GB, free: 13.95 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002469/0.2038, allocations: 12.8 kB / 0.6379 GB, free: 13.95 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.2052, allocations: 1.39 MB / 0.6392 GB, free: 12.47 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002756/0.2055, allocations: 0.6885 MB / 0.6399 GB, free: 11.76 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.409e-05/0.2056, allocations: 8.062 kB / 0.6399 GB, free: 11.75 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.457e-05/0.2056, allocations: 19.42 kB / 0.6399 GB, free: 11.73 MB / 494.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2056, allocations: 4 kB / 0.6399 GB, free: 11.73 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04279/0.2484, allocations: 2.494 MB / 0.6424 GB, free: 9.379 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.75/12.99, allocations: 10.67 kB / 0.6424 GB, free: 9.371 MB / 494.1 MB (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 --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)