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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5116/0.5116, allocations: 90.92 MB / 99.35 MB, free: 2.148 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.6/1.6, allocations: 221.5 MB / 343.2 MB, free: 1.516 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008339/0.0008338, allocations: 79.97 kB / 415.9 MB, free: 11.09 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.58e-05/2.614e-05, allocations: 8 kB / 494.6 MB, free: 52.27 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1604, allocations: 72.32 MB / 0.5536 GB, free: 12.14 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5111/0.6715, allocations: 101 MB / 0.6522 GB, free: 9.297 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002716/0.6718, allocations: 76.45 kB / 0.6523 GB, free: 9.254 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01464/0.6865, allocations: 5.098 MB / 0.6573 GB, free: 5.031 MB / 458.7 MB Notification: Performance of FrontEnd: time 4.318e-06/0.6866, allocations: 4 kB / 0.6573 GB, free: 5.027 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.6866, allocations: 0 / 0.6573 GB, free: 5.027 MB / 458.7 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.0004493/0.6871, allocations: 362.2 kB / 0.6576 GB, free: 4.633 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.824e-05/0.6871, allocations: 15.97 kB / 0.6576 GB, free: 4.617 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.094e-05/0.6872, allocations: 3.953 kB / 0.6576 GB, free: 4.613 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/0.6874, allocations: 175 kB / 0.6578 GB, free: 4.402 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.6874, allocations: 0 / 0.6578 GB, free: 4.402 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.077e-05/0.6875, allocations: 4 kB / 0.6578 GB, free: 4.398 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.815e-05/0.6876, allocations: 18.05 kB / 0.6578 GB, free: 4.387 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.6877, allocations: 48.98 kB / 0.6579 GB, free: 4.336 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.6877, allocations: 0 / 0.6579 GB, free: 4.336 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.6878, allocations: 0 / 0.6579 GB, free: 4.336 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.6878, allocations: 3.953 kB / 0.6579 GB, free: 4.332 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002206/0.688, allocations: 141.1 kB / 0.658 GB, free: 4.16 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.6881, allocations: 59.83 kB / 0.6581 GB, free: 4.105 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.888e-05/0.6882, allocations: 27.47 kB / 0.6581 GB, free: 4.082 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006926/0.6889, allocations: 461.5 kB / 0.6585 GB, free: 3.539 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.432e-05/0.6889, allocations: 34.56 kB / 0.6586 GB, free: 3.496 MB / 458.7 MB Notification: Performance of pre-optimization done (n=7): time 1.773e-06/0.6889, allocations: 0 / 0.6586 GB, free: 3.496 MB / 458.7 MB Notification: Performance of matching and sorting (n=11): time 0.001248/0.6902, allocations: 0.5183 MB / 0.6591 GB, free: 2.918 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.6902, allocations: 55.41 kB / 0.6591 GB, free: 2.852 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.6904, allocations: 96.86 kB / 0.6592 GB, free: 2.754 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.6904, allocations: 25.7 kB / 0.6592 GB, free: 2.723 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.33e-05/0.6904, allocations: 80.14 kB / 0.6593 GB, free: 2.641 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.453e-05/0.6905, allocations: 35.02 kB / 0.6594 GB, free: 2.609 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.5e-06/0.6905, allocations: 0 / 0.6594 GB, free: 2.609 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.6906, allocations: 322.2 kB / 0.6597 GB, free: 2.289 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.885e-05/0.6907, allocations: 15.06 kB / 0.6597 GB, free: 2.281 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.359e-05/0.6907, allocations: 15.56 kB / 0.6597 GB, free: 2.27 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.022e-05/0.6908, allocations: 26.98 kB / 0.6597 GB, free: 2.25 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.6908, allocations: 96 / 0.6597 GB, free: 2.25 MB / 458.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001902/0.691, allocations: 96.78 kB / 0.6598 GB, free: 2.164 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.6911, allocations: 4 kB / 0.6598 GB, free: 2.16 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.6911, allocations: 4.188 kB / 0.6598 GB, free: 2.156 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.6911, allocations: 0 / 0.6598 GB, free: 2.156 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.6912, allocations: 23.92 kB / 0.6598 GB, free: 2.133 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.6912, allocations: 0 / 0.6598 GB, free: 2.133 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.879e-05/0.6913, allocations: 7.984 kB / 0.6599 GB, free: 2.125 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/0.6913, allocations: 0 / 0.6599 GB, free: 2.125 MB / 458.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.682e-05/0.6914, allocations: 112.9 kB / 0.66 GB, free: 2.008 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001728/0.6916, allocations: 84.19 kB / 0.66 GB, free: 1.93 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.817e-05/0.6916, allocations: 7.906 kB / 0.66 GB, free: 1.922 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002222/0.6918, allocations: 91.27 kB / 0.6601 GB, free: 1.848 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.6919, allocations: 0 / 0.6601 GB, free: 1.848 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.6919, allocations: 4 kB / 0.6601 GB, free: 1.844 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.6919, allocations: 7.938 kB / 0.6601 GB, free: 1.836 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004364/0.6923, allocations: 314.9 kB / 0.6604 GB, free: 1.504 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.6923, allocations: 0 / 0.6604 GB, free: 1.504 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001212/0.6925, allocations: 26.98 kB / 0.6605 GB, free: 1.48 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.6925, allocations: 0 / 0.6605 GB, free: 1.48 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.6925, allocations: 0 / 0.6605 GB, free: 1.48 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.6925, allocations: 0 / 0.6605 GB, free: 1.48 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.6925, allocations: 7.953 kB / 0.6605 GB, free: 1.473 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002918/0.6928, allocations: 211.8 kB / 0.6607 GB, free: 1.273 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.241e-05/0.6929, allocations: 85 kB / 0.6608 GB, free: 1.172 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.6929, allocations: 8.062 kB / 0.6608 GB, free: 1.164 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.967e-05/0.693, allocations: 0 / 0.6608 GB, free: 1.164 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.247e-05/0.693, allocations: 15.88 kB / 0.6608 GB, free: 1.148 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.693, allocations: 7.812 kB / 0.6608 GB, free: 1.145 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.836e-05/0.6931, allocations: 75.28 kB / 0.6609 GB, free: 1.07 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6931, allocations: 0 / 0.6609 GB, free: 1.07 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003271/0.6934, allocations: 51.92 kB / 0.6609 GB, free: 1.02 MB / 458.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007469/0.6942, allocations: 0.7873 MB / 0.6617 GB, free: 232 kB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001502/0.6943, allocations: 57.19 kB / 0.6617 GB, free: 188 kB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.6944, allocations: 0 / 0.6617 GB, free: 188 kB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.361e-05/0.6944, allocations: 34.05 kB / 0.6618 GB, free: 160 kB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001673/0.6946, allocations: 4.953 kB / 0.6618 GB, free: 156 kB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005663/0.6951, allocations: 195 kB / 0.662 GB, free: 15.93 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/0.6955, allocations: 0.6885 MB / 0.6626 GB, free: 15.21 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 5.94e-05/0.6955, allocations: 19.92 kB / 0.6627 GB, free: 15.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.151e-05/0.6956, allocations: 15 kB / 0.6627 GB, free: 15.18 MB / 474.7 MB Notification: Performance of SimCode: time 4.6e-07/0.6956, allocations: 0 / 0.6627 GB, free: 15.18 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02275/0.7184, allocations: 1.868 MB / 0.6645 GB, free: 13.33 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00024/0.7187, allocations: 160.9 kB / 0.6646 GB, free: 13.14 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.567/2.286, allocations: 0 / 0.6646 GB, free: 13.14 MB / 474.7 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/linux/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)