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.00126/0.00126, allocations: 179.1 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.4915/0.4915, allocations: 90.8 MB / 104.5 MB, free: 13.89 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.384/1.384, allocations: 221.3 MB / 348.3 MB, free: 12.54 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 90.31 kB / 421.2 MB, free: 5.668 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.396e-05/3.408e-05, allocations: 4 kB / 0.4897 GB, free: 46.5 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1268, allocations: 72.32 MB / 0.5603 GB, free: 6.289 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4437/0.5706, allocations: 101.6 MB / 0.6596 GB, free: 6.266 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/0.5709, allocations: 81.69 kB / 0.6596 GB, free: 6.219 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01436/0.5852, allocations: 5.115 MB / 0.6646 GB, free: 1.895 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.5853, allocations: 0 / 0.6646 GB, free: 1.895 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.5853, allocations: 0 / 0.6646 GB, free: 1.895 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.0003689/0.5857, allocations: 369.5 kB / 0.665 GB, free: 1.496 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.5857, allocations: 15.92 kB / 0.665 GB, free: 1.48 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.289e-05/0.5858, allocations: 42.48 kB / 0.665 GB, free: 1.43 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.648e-05/0.5858, allocations: 7.953 kB / 0.6651 GB, free: 1.422 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.782e-05/0.5859, allocations: 163 kB / 0.6652 GB, free: 1.223 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.5859, allocations: 7.5 kB / 0.6652 GB, free: 1.219 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.586, allocations: 3.906 kB / 0.6652 GB, free: 1.215 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.5861, allocations: 49.56 kB / 0.6653 GB, free: 1.168 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.5861, allocations: 3.984 kB / 0.6653 GB, free: 1.164 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.5861, allocations: 4 kB / 0.6653 GB, free: 1.16 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.5861, allocations: 0 / 0.6653 GB, free: 1.16 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.198e-05/0.5862, allocations: 23.5 kB / 0.6653 GB, free: 1.141 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001552/0.5863, allocations: 172.3 kB / 0.6655 GB, free: 0.9297 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.896e-05/0.5865, allocations: 59.62 kB / 0.6655 GB, free: 0.875 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.778e-05/0.5865, allocations: 22.42 kB / 0.6655 GB, free: 0.8555 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005825/0.5871, allocations: 461.5 kB / 0.666 GB, free: 320 kB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.5871, allocations: 33.75 kB / 0.666 GB, free: 280 kB / 458.7 MB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.5871, allocations: 0 / 0.666 GB, free: 280 kB / 458.7 MB Notification: Performance of matching and sorting (n=11): time 0.000973/0.5881, allocations: 0.5667 MB / 0.6666 GB, free: 15.66 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.58e-05/0.5881, allocations: 51.41 kB / 0.6666 GB, free: 15.59 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.541e-05/0.5882, allocations: 96.8 kB / 0.6667 GB, free: 15.5 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.324e-05/0.5882, allocations: 25.8 kB / 0.6667 GB, free: 15.46 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.646e-05/0.5883, allocations: 91.45 kB / 0.6668 GB, free: 15.38 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.175e-05/0.5883, allocations: 30.22 kB / 0.6669 GB, free: 15.35 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.509e-06/0.5883, allocations: 11.81 kB / 0.6669 GB, free: 15.34 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.746e-05/0.5884, allocations: 318.8 kB / 0.6672 GB, free: 15.02 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.465e-05/0.5884, allocations: 19.12 kB / 0.6672 GB, free: 15.01 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.264e-05/0.5885, allocations: 23.25 kB / 0.6672 GB, free: 14.99 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.935e-05/0.5885, allocations: 19.23 kB / 0.6672 GB, free: 14.98 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.5885, allocations: 0 / 0.6672 GB, free: 14.98 MB / 474.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001379/0.5887, allocations: 99.72 kB / 0.6673 GB, free: 14.89 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.5887, allocations: 4 kB / 0.6673 GB, free: 14.89 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.5887, allocations: 0 / 0.6673 GB, free: 14.89 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.998e-06/0.5887, allocations: 0 / 0.6673 GB, free: 14.89 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.917e-05/0.5888, allocations: 27.92 kB / 0.6674 GB, free: 14.86 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.5888, allocations: 7.953 kB / 0.6674 GB, free: 14.85 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.153e-05/0.5889, allocations: 3.688 kB / 0.6674 GB, free: 14.85 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.5889, allocations: 4 kB / 0.6674 GB, free: 14.85 MB / 474.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 5.899e-05/0.5889, allocations: 108.7 kB / 0.6675 GB, free: 14.74 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.283e-05/0.589, allocations: 3.906 kB / 0.6675 GB, free: 14.73 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001726/0.5891, allocations: 110.7 kB / 0.6676 GB, free: 14.64 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.5892, allocations: 0 / 0.6676 GB, free: 14.64 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.5892, allocations: 4 kB / 0.6676 GB, free: 14.64 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.5892, allocations: 3.953 kB / 0.6676 GB, free: 14.63 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003224/0.5895, allocations: 354.6 kB / 0.6679 GB, free: 14.26 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.5895, allocations: 0 / 0.6679 GB, free: 14.26 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.5896, allocations: 23.92 kB / 0.6679 GB, free: 14.23 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.5896, allocations: 0 / 0.6679 GB, free: 14.23 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.649e-06/0.5896, allocations: 4 kB / 0.668 GB, free: 14.23 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.5897, allocations: 3.953 kB / 0.668 GB, free: 14.23 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.5897, allocations: 192 / 0.668 GB, free: 14.23 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002126/0.5899, allocations: 212.2 kB / 0.6682 GB, free: 14.03 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.438e-05/0.5899, allocations: 92.3 kB / 0.6682 GB, free: 13.92 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.59, allocations: 0 / 0.6682 GB, free: 13.92 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.691e-05/0.59, allocations: 7.875 kB / 0.6683 GB, free: 13.92 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.988e-05/0.5901, allocations: 15.88 kB / 0.6683 GB, free: 13.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.5901, allocations: 0 / 0.6683 GB, free: 13.9 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.581e-05/0.5901, allocations: 82.53 kB / 0.6683 GB, free: 13.82 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5901, allocations: 0 / 0.6683 GB, free: 13.82 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002462/0.5904, allocations: 59.8 kB / 0.6684 GB, free: 13.77 MB / 474.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.0005532/0.5909, allocations: 0.8001 MB / 0.6692 GB, free: 12.97 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001168/0.5911, allocations: 58.19 kB / 0.6692 GB, free: 12.92 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.5911, allocations: 0 / 0.6692 GB, free: 12.92 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 4.503e-05/0.5911, allocations: 35.8 kB / 0.6693 GB, free: 12.89 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001212/0.5912, allocations: 13.62 kB / 0.6693 GB, free: 12.89 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004042/0.5917, allocations: 200.7 kB / 0.6695 GB, free: 12.66 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001886/0.5919, allocations: 0.6903 MB / 0.6702 GB, free: 11.95 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 5.197e-05/0.5919, allocations: 12.3 kB / 0.6702 GB, free: 11.94 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.431e-05/0.592, allocations: 25.73 kB / 0.6702 GB, free: 11.92 MB / 474.7 MB Notification: Performance of SimCode: time 2.5e-07/0.592, allocations: 0 / 0.6702 GB, free: 11.92 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01257/0.6045, allocations: 2.158 MB / 0.6723 GB, free: 9.922 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002078/0.6048, allocations: 183 kB / 0.6725 GB, free: 9.691 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.382/1.987, allocations: 0 / 0.6725 GB, free: 9.691 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)