Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="IDEAS_dev_IDEAS_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.001025/0.001025, allocations: 98.53 kB / 15.05 MB, free: 1.105 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.002093/0.002094, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.26/2.26, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.511/1.511, allocations: 135.2 MB / 426.2 MB, free: 14.35 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005017/0.0005018, allocations: 12.62 kB / 0.5069 GB, free: 5.164 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2604, allocations: 82.31 MB / 0.5873 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.005077/0.2655, allocations: 339.1 kB / 0.5876 GB, free: 2.695 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.2666, allocations: 335.1 kB / 0.5879 GB, free: 2.371 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.431e-05/0.2666, allocations: 0 / 0.5879 GB, free: 2.371 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.427e-05/0.2666, allocations: 0 / 0.5879 GB, free: 2.371 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.462e-05/0.2667, allocations: 0 / 0.5879 GB, free: 2.371 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000535/0.2672, allocations: 79.09 kB / 0.588 GB, free: 2.297 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.087e-05/0.2673, allocations: 11.98 kB / 0.588 GB, free: 2.285 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.377e-05/0.2674, allocations: 4 kB / 0.588 GB, free: 2.281 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.808e-05/0.2674, allocations: 11.98 kB / 0.588 GB, free: 2.27 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.771e-05/0.2675, allocations: 15.92 kB / 0.588 GB, free: 2.254 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.2676, allocations: 0 / 0.588 GB, free: 2.254 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005635/0.2681, allocations: 255.7 kB / 0.5883 GB, free: 2.004 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.807e-05/0.2682, allocations: 8 kB / 0.5883 GB, free: 1.996 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.319e-05/0.2682, allocations: 33.64 kB / 0.5883 GB, free: 1.957 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001963/0.2684, allocations: 63.88 kB / 0.5884 GB, free: 1.895 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2684, allocations: 0 / 0.5884 GB, free: 1.895 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.2685, allocations: 0 / 0.5884 GB, free: 1.895 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.2685, allocations: 0 / 0.5884 GB, free: 1.895 MB / 494.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.0005723/0.2691, allocations: 359.5 kB / 0.5887 GB, free: 1.496 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.773e-05/0.2691, allocations: 8.031 kB / 0.5887 GB, free: 1.488 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.438e-05/0.2692, allocations: 38.56 kB / 0.5888 GB, free: 1.441 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.113e-05/0.2693, allocations: 0 / 0.5888 GB, free: 1.441 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/0.2695, allocations: 175 kB / 0.5889 GB, free: 1.23 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.2695, allocations: 0 / 0.5889 GB, free: 1.23 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.915e-05/0.2696, allocations: 15.89 kB / 0.589 GB, free: 1.215 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001684/0.2698, allocations: 45.62 kB / 0.589 GB, free: 1.164 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.2698, allocations: 0 / 0.589 GB, free: 1.164 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.2698, allocations: 8 kB / 0.589 GB, free: 1.156 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.2698, allocations: 7.938 kB / 0.589 GB, free: 1.148 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.297e-05/0.2699, allocations: 15.98 kB / 0.589 GB, free: 1.133 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002597/0.2702, allocations: 169.6 kB / 0.5892 GB, free: 0.918 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001613/0.2704, allocations: 54.56 kB / 0.5892 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001024/0.2714, allocations: 461.5 kB / 0.5897 GB, free: 320 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.141e-05/0.2715, allocations: 38.5 kB / 0.5897 GB, free: 272 kB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.2715, allocations: 0 / 0.5897 GB, free: 272 kB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.005941/0.2774, allocations: 0.5907 MB / 0.5903 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.767e-05/0.2775, allocations: 55.39 kB / 0.5904 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.2777, allocations: 97.86 kB / 0.5904 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.2777, allocations: 25.7 kB / 0.5905 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.137e-05/0.2778, allocations: 84.14 kB / 0.5906 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.136e-05/0.2778, allocations: 39.44 kB / 0.5906 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.859e-05/0.2779, allocations: 8 kB / 0.5906 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.2781, allocations: 318.8 kB / 0.5909 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.455e-05/0.2781, allocations: 19.98 kB / 0.5909 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.441e-05/0.2782, allocations: 23.98 kB / 0.5909 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.417e-05/0.2783, allocations: 20 kB / 0.591 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2783, allocations: 0 / 0.591 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003268/0.2787, allocations: 105.5 kB / 0.5911 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/0.2787, allocations: 4 kB / 0.5911 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.2787, allocations: 0 / 0.5911 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.2787, allocations: 0 / 0.5911 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001926/0.2789, allocations: 27.98 kB / 0.5911 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.279, allocations: 0 / 0.5911 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.04e-05/0.279, allocations: 0 / 0.5911 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/0.2791, allocations: 8 kB / 0.5911 GB, free: 14.72 MB / 0.4981 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001348/0.2792, allocations: 123.6 kB / 0.5912 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.726e-05/0.2793, allocations: 8.094 kB / 0.5912 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003241/0.2796, allocations: 105.6 kB / 0.5913 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.2796, allocations: 3.984 kB / 0.5913 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.2797, allocations: 4 kB / 0.5913 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.2797, allocations: 0 / 0.5913 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005933/0.2803, allocations: 358.4 kB / 0.5917 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.2803, allocations: 0 / 0.5917 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001819/0.2805, allocations: 19.98 kB / 0.5917 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.2805, allocations: 0 / 0.5917 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.2805, allocations: 4 kB / 0.5917 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.2805, allocations: 4 kB / 0.5917 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.2805, allocations: 0 / 0.5917 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004084/0.281, allocations: 223.3 kB / 0.5919 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.907e-05/0.2811, allocations: 89.12 kB / 0.592 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.209e-05/0.2811, allocations: 0 / 0.592 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.2813, allocations: 8 kB / 0.592 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/0.2813, allocations: 7.984 kB / 0.592 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.2813, allocations: 7.938 kB / 0.592 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.464e-05/0.2814, allocations: 75.28 kB / 0.5921 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2814, allocations: 64 / 0.5921 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005601/0.282, allocations: 47.98 kB / 0.5921 GB, free: 13.54 MB / 0.4981 GB 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 (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.000974/0.283, allocations: 0.7912 MB / 0.5929 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000205/0.2832, allocations: 59.91 kB / 0.593 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.2832, allocations: 0 / 0.593 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.2833, allocations: 43.59 kB / 0.593 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.2836, allocations: 4 kB / 0.593 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.2848, allocations: 0.512 MB / 0.5935 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003942/0.2852, allocations: 0.6966 MB / 0.5942 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.818e-05/0.2853, allocations: 11.92 kB / 0.5942 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.182e-05/0.2854, allocations: 19.38 kB / 0.5942 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.2854, allocations: 0 / 0.5942 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09207/0.3774, allocations: 2.194 MB / 0.5964 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003795/0.3779, allocations: 207.1 kB / 0.5966 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.887/3.265, allocations: 3.938 kB / 0.5966 GB, free: 9.059 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) Environment - environmentSimulation: