Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",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.007532/0.007532, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7927/0.7927, allocations: 135.2 MB / 151 MB, free: 13.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.743/1.743, allocations: 223.2 MB / 406.8 MB, free: 3.211 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008628/0.0008626, allocations: 101.1 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003714/0.0003716, allocations: 8 kB / 0.5692 GB, free: 14.04 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4236/0.424, allocations: 82.31 MB / 0.6495 GB, free: 36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.145/0.569, allocations: 111.3 MB / 0.7583 GB, free: 4.52 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002263/0.5693, allocations: 71.95 kB / 0.7583 GB, free: 4.449 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01348/0.5828, allocations: 4.565 MB / 0.7628 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.883e-06/0.5828, allocations: 0 / 0.7628 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.653e-06/0.5828, allocations: 0 / 0.7628 GB, free: 15.88 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003704/0.5832, allocations: 363.2 kB / 0.7631 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.5833, allocations: 8.031 kB / 0.7631 GB, free: 15.47 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.281e-05/0.5833, allocations: 34.56 kB / 0.7632 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.701e-05/0.5834, allocations: 7.844 kB / 0.7632 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.5835, allocations: 163 kB / 0.7633 GB, free: 15.22 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.5835, allocations: 0 / 0.7633 GB, free: 15.22 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.5836, allocations: 4 kB / 0.7633 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.5837, allocations: 37.69 kB / 0.7634 GB, free: 15.17 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.761e-06/0.5837, allocations: 0 / 0.7634 GB, free: 15.17 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.118e-06/0.5837, allocations: 4 kB / 0.7634 GB, free: 15.17 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.5837, allocations: 0 / 0.7634 GB, free: 15.17 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.445e-05/0.5838, allocations: 7.938 kB / 0.7634 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001754/0.5839, allocations: 153.6 kB / 0.7635 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 4.993e-05/0.584, allocations: 22.61 kB / 0.7636 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006741/0.5847, allocations: 461.5 kB / 0.764 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.5847, allocations: 30.56 kB / 0.764 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.5847, allocations: 0 / 0.764 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.0006206/0.5854, allocations: 250.6 kB / 0.7643 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.526e-05/0.5854, allocations: 51.41 kB / 0.7643 GB, free: 13.99 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.448e-05/0.5855, allocations: 92.98 kB / 0.7644 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.5855, allocations: 33.64 kB / 0.7644 GB, free: 13.85 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.501e-05/0.5856, allocations: 80.14 kB / 0.7645 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.438e-05/0.5856, allocations: 11.8 kB / 0.7645 GB, free: 13.76 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-06/0.5856, allocations: 4 kB / 0.7645 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.5857, allocations: 315 kB / 0.7648 GB, free: 13.44 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.7e-05/0.5858, allocations: 4 kB / 0.7648 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.033e-05/0.5858, allocations: 25.73 kB / 0.7649 GB, free: 13.4 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.201e-05/0.5859, allocations: 8 kB / 0.7649 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.5859, allocations: 3.953 kB / 0.7649 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001091/0.586, allocations: 53.62 kB / 0.7649 GB, free: 13.33 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.586, allocations: 4.938 kB / 0.7649 GB, free: 13.33 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.586, allocations: 8 kB / 0.7649 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.5861, allocations: 0 / 0.7649 GB, free: 13.32 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.754e-05/0.5861, allocations: 12 kB / 0.7649 GB, free: 13.31 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-06/0.5862, allocations: 0 / 0.7649 GB, free: 13.31 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.878e-05/0.5862, allocations: 0 / 0.7649 GB, free: 13.31 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.5862, allocations: 4 kB / 0.765 GB, free: 13.3 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.205e-05/0.5863, allocations: 105.8 kB / 0.7651 GB, free: 13.19 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.13e-05/0.5863, allocations: 7.953 kB / 0.7651 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001431/0.5865, allocations: 73.02 kB / 0.7651 GB, free: 13.1 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.5865, allocations: 0 / 0.7651 GB, free: 13.1 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.5865, allocations: 0 / 0.7651 GB, free: 13.1 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.5865, allocations: 0 / 0.7651 GB, free: 13.1 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/0.5866, allocations: 149.7 kB / 0.7653 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.5866, allocations: 0 / 0.7653 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.942e-05/0.5867, allocations: 11.89 kB / 0.7653 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.5867, allocations: 0 / 0.7653 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.5867, allocations: 4 kB / 0.7653 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.5867, allocations: 4 kB / 0.7653 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.5867, allocations: 7.984 kB / 0.7653 GB, free: 12.88 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001577/0.5869, allocations: 73.06 kB / 0.7654 GB, free: 12.79 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.059e-05/0.587, allocations: 77.11 kB / 0.7654 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.587, allocations: 7.953 kB / 0.7655 GB, free: 12.69 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.039e-05/0.587, allocations: 4.031 kB / 0.7655 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.31e-05/0.5871, allocations: 0 / 0.7655 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/0.5871, allocations: 3.984 kB / 0.7655 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.631e-05/0.5871, allocations: 83.34 kB / 0.7655 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5871, allocations: 0 / 0.7655 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002394/0.5874, allocations: 31.94 kB / 0.7656 GB, free: 12.57 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0005866/0.588, allocations: 0.6476 MB / 0.7662 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 8.99e-05/0.5881, allocations: 16.09 kB / 0.7662 GB, free: 11.87 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.5881, allocations: 7.938 kB / 0.7662 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.591e-05/0.5881, allocations: 8 kB / 0.7662 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001043/0.5882, allocations: 10.64 kB / 0.7662 GB, free: 11.85 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006212/0.5888, allocations: 0.5333 MB / 0.7668 GB, free: 11.26 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002566/0.5891, allocations: 0.677 MB / 0.7674 GB, free: 10.56 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.581e-05/0.5891, allocations: 7.984 kB / 0.7674 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.123e-05/0.5892, allocations: 7.438 kB / 0.7674 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of SimCode: time 6.71e-07/0.5892, allocations: 0 / 0.7674 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01683/0.606, allocations: 1.47 MB / 0.7689 GB, free: 9.242 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002676/0.6063, allocations: 192.8 kB / 0.7691 GB, free: 9.008 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.516/2.123, allocations: 0 / 0.7691 GB, free: 9.008 MB / 0.5417 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)