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: translateModel(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009135/0.0009135, allocations: 179.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4482/0.4482, allocations: 90.81 MB / 104.5 MB, free: 9.801 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.25/1.25, allocations: 221.3 MB / 348.3 MB, free: 480 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008404/0.0008408, allocations: 99.34 kB / 421.2 MB, free: 5.488 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.738e-05/3.741e-05, allocations: 4 kB / 0.4896 GB, free: 5.367 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3514, allocations: 72.31 MB / 0.5602 GB, free: 40.46 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1223/0.4738, allocations: 101.6 MB / 0.6595 GB, free: 2.715 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/0.4741, allocations: 75.95 kB / 0.6595 GB, free: 2.641 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01458/0.4887, allocations: 5.116 MB / 0.6645 GB, free: 13.53 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.106e-06/0.4887, allocations: 8 kB / 0.6645 GB, free: 13.52 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.677e-06/0.4888, allocations: 0 / 0.6645 GB, free: 13.52 MB / 490.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.0004421/0.4892, allocations: 362.3 kB / 0.6649 GB, free: 13.12 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/0.4893, allocations: 11.98 kB / 0.6649 GB, free: 13.11 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.439e-05/0.4894, allocations: 7.953 kB / 0.6649 GB, free: 13.11 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.4895, allocations: 167 kB / 0.6651 GB, free: 12.9 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.4895, allocations: 8 kB / 0.6651 GB, free: 12.89 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.835e-05/0.4896, allocations: 4 kB / 0.6651 GB, free: 12.89 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.4897, allocations: 49.69 kB / 0.6651 GB, free: 12.84 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.4897, allocations: 4 kB / 0.6651 GB, free: 12.83 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.4898, allocations: 0 / 0.6651 GB, free: 12.83 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.934e-06/0.4898, allocations: 0 / 0.6651 GB, free: 12.83 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.919e-05/0.4898, allocations: 31.86 kB / 0.6652 GB, free: 12.8 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002357/0.4901, allocations: 169.6 kB / 0.6653 GB, free: 12.59 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.4902, allocations: 54.56 kB / 0.6654 GB, free: 12.52 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.228e-05/0.4903, allocations: 24.86 kB / 0.6654 GB, free: 12.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006594/0.4909, allocations: 461.5 kB / 0.6658 GB, free: 11.95 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/0.491, allocations: 44.3 kB / 0.6659 GB, free: 11.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.491, allocations: 0 / 0.6659 GB, free: 11.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.001244/0.4922, allocations: 0.5557 MB / 0.6664 GB, free: 11.26 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.4923, allocations: 55.36 kB / 0.6665 GB, free: 11.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.879e-05/0.4924, allocations: 92.98 kB / 0.6666 GB, free: 11.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.651e-05/0.4924, allocations: 29.7 kB / 0.6666 GB, free: 11.06 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.655e-05/0.4925, allocations: 92.08 kB / 0.6667 GB, free: 10.97 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.943e-05/0.4925, allocations: 39.39 kB / 0.6667 GB, free: 10.93 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.332e-06/0.4926, allocations: 5.219 kB / 0.6667 GB, free: 10.93 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.4927, allocations: 314.8 kB / 0.667 GB, free: 10.61 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.452e-05/0.4927, allocations: 24 kB / 0.667 GB, free: 10.59 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.264e-05/0.4928, allocations: 16 kB / 0.6671 GB, free: 10.57 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.917e-05/0.4928, allocations: 25.11 kB / 0.6671 GB, free: 10.55 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.4928, allocations: 0 / 0.6671 GB, free: 10.55 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001604/0.493, allocations: 97.59 kB / 0.6672 GB, free: 10.45 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.493, allocations: 8 kB / 0.6672 GB, free: 10.44 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.4931, allocations: 0 / 0.6672 GB, free: 10.44 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.4931, allocations: 4 kB / 0.6672 GB, free: 10.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.4932, allocations: 23.92 kB / 0.6672 GB, free: 10.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.4932, allocations: 0 / 0.6672 GB, free: 10.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.67e-05/0.4932, allocations: 7.953 kB / 0.6672 GB, free: 10.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.176e-06/0.4933, allocations: 0.9375 kB / 0.6672 GB, free: 10.4 MB / 490.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 8.839e-05/0.4933, allocations: 109 kB / 0.6673 GB, free: 10.29 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.692e-05/0.4934, allocations: 4 kB / 0.6673 GB, free: 10.29 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001983/0.4936, allocations: 113.5 kB / 0.6674 GB, free: 10.17 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.4936, allocations: 4 kB / 0.6674 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.507e-05/0.4936, allocations: 5.125 kB / 0.6674 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.4936, allocations: 0 / 0.6674 GB, free: 10.16 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004414/0.4941, allocations: 346.5 kB / 0.6678 GB, free: 9.766 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4941, allocations: 3.938 kB / 0.6678 GB, free: 9.762 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001153/0.4942, allocations: 23.92 kB / 0.6678 GB, free: 9.738 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.4942, allocations: 0 / 0.6678 GB, free: 9.738 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.4942, allocations: 4 kB / 0.6678 GB, free: 9.734 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.4943, allocations: 4 kB / 0.6678 GB, free: 9.73 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.4943, allocations: 3.953 kB / 0.6678 GB, free: 9.727 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002799/0.4945, allocations: 210.5 kB / 0.668 GB, free: 9.508 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.006e-05/0.4946, allocations: 89.03 kB / 0.6681 GB, free: 9.402 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.4947, allocations: 4 kB / 0.6681 GB, free: 9.398 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.575e-05/0.4947, allocations: 4.844 kB / 0.6681 GB, free: 9.395 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.416e-05/0.4948, allocations: 12.12 kB / 0.6681 GB, free: 9.383 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.4948, allocations: 4.062 kB / 0.6681 GB, free: 9.379 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.98e-05/0.4948, allocations: 91.2 kB / 0.6682 GB, free: 9.289 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4948, allocations: 0 / 0.6682 GB, free: 9.289 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002866/0.4951, allocations: 59.92 kB / 0.6683 GB, free: 9.23 MB / 490.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.0002885/0.4954, allocations: 155 kB / 0.6684 GB, free: 9.066 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001399/0.4956, allocations: 56 kB / 0.6685 GB, free: 9.012 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.4956, allocations: 4 kB / 0.6685 GB, free: 9.008 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.263e-05/0.4956, allocations: 38.36 kB / 0.6685 GB, free: 8.973 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001392/0.4958, allocations: 11.16 kB / 0.6685 GB, free: 8.965 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003193/0.4961, allocations: 129 kB / 0.6686 GB, free: 8.812 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.4964, allocations: 0.6903 MB / 0.6693 GB, free: 8.098 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.446e-05/0.4965, allocations: 8 kB / 0.6693 GB, free: 8.09 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.805e-05/0.4965, allocations: 15.44 kB / 0.6693 GB, free: 8.074 MB / 490.7 MB Notification: Performance of SimCode: time 5.31e-07/0.4965, allocations: 0 / 0.6693 GB, free: 8.074 MB / 490.7 MB Notification: Performance of Templates: time 0.003949/0.5005, allocations: 1.303 MB / 0.6706 GB, free: 6.789 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (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 & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)