Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.000872/0.0008721, allocations: 89.66 kB / 15.36 MB, free: 0.7383 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.005461/0.005461, allocations: 174 kB / 16.27 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 223.2 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7344/0.7344, allocations: 132.3 MB / 423.8 MB, free: 2.008 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003167/0.0003167, allocations: 15.98 kB / 0.5041 GB, free: 3.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3968/0.3971, allocations: 81.57 MB / 0.5838 GB, free: 3.902 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.0005905/0.3977, allocations: 357 kB / 0.5841 GB, free: 3.66 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006022/0.3984, allocations: 372.1 kB / 0.5845 GB, free: 3.422 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.334e-05/0.3984, allocations: 0 / 0.5845 GB, free: 3.422 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.988e-06/0.3984, allocations: 0.9688 kB / 0.5845 GB, free: 3.422 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 2.586e-05/0.3984, allocations: 0 / 0.5845 GB, free: 3.422 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003313/0.3988, allocations: 80.61 kB / 0.5845 GB, free: 3.391 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.706e-05/0.3988, allocations: 26.28 kB / 0.5846 GB, free: 3.379 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.794e-05/0.3989, allocations: 2.578 kB / 0.5846 GB, free: 3.379 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.048e-05/0.3989, allocations: 10.91 kB / 0.5846 GB, free: 3.375 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.477e-05/0.399, allocations: 14.81 kB / 0.5846 GB, free: 3.367 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.399, allocations: 6.016 kB / 0.5846 GB, free: 3.363 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003746/0.3994, allocations: 275 kB / 0.5848 GB, free: 3.293 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.218e-05/0.3994, allocations: 7.922 kB / 0.5849 GB, free: 3.289 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.453e-05/0.3994, allocations: 38.53 kB / 0.5849 GB, free: 3.25 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001638/0.3996, allocations: 101.9 kB / 0.585 GB, free: 3.215 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.3996, allocations: 1.094 kB / 0.585 GB, free: 3.215 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3996, allocations: 0.7031 kB / 0.585 GB, free: 3.215 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.537e-06/0.3996, allocations: 0 / 0.585 GB, free: 3.215 MB / 430.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.0002786/0.3999, allocations: 354.4 kB / 0.5853 GB, free: 2.84 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.3999, allocations: 9.531 kB / 0.5853 GB, free: 2.84 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.41e-05/0.3999, allocations: 37.84 kB / 0.5854 GB, free: 2.797 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.438e-05/0.4, allocations: 4.406 kB / 0.5854 GB, free: 2.797 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.746e-05/0.4001, allocations: 166.5 kB / 0.5855 GB, free: 2.598 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.4001, allocations: 2.438 kB / 0.5855 GB, free: 2.598 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.958e-05/0.4001, allocations: 7.031 kB / 0.5855 GB, free: 2.594 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/0.4002, allocations: 54.92 kB / 0.5856 GB, free: 2.551 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.4002, allocations: 7.938 kB / 0.5856 GB, free: 2.543 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.4002, allocations: 1.688 kB / 0.5856 GB, free: 2.543 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.4003, allocations: 0.625 kB / 0.5856 GB, free: 2.543 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.685e-05/0.4003, allocations: 18.67 kB / 0.5856 GB, free: 2.539 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001147/0.4004, allocations: 167.5 kB / 0.5858 GB, free: 2.34 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.09e-05/0.4005, allocations: 64.44 kB / 0.5858 GB, free: 2.297 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.04e-05/0.4006, allocations: 28.94 kB / 0.5859 GB, free: 2.281 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005625/0.4011, allocations: 465.3 kB / 0.5863 GB, free: 1.805 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.4012, allocations: 32.03 kB / 0.5864 GB, free: 1.766 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.733e-06/0.4012, allocations: 4.812 kB / 0.5864 GB, free: 1.762 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.001448/0.4026, allocations: 0.5757 MB / 0.5869 GB, free: 1.258 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.699e-05/0.4027, allocations: 53.38 kB / 0.587 GB, free: 1.195 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.917e-05/0.4027, allocations: 95.66 kB / 0.5871 GB, free: 1.098 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.4027, allocations: 34.73 kB / 0.5871 GB, free: 1.059 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.499e-05/0.4028, allocations: 89.52 kB / 0.5872 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.164e-05/0.4028, allocations: 43.06 kB / 0.5872 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.535e-05/0.4028, allocations: 18.44 kB / 0.5872 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.819e-05/0.4029, allocations: 318.3 kB / 0.5875 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.186e-05/0.4029, allocations: 26.8 kB / 0.5876 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.849e-05/0.403, allocations: 27.36 kB / 0.5876 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.317e-05/0.403, allocations: 55.5 kB / 0.5876 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-07/0.4031, allocations: 0 / 0.5876 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001446/0.4032, allocations: 102.6 kB / 0.5877 GB, free: 500 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.4032, allocations: 4.938 kB / 0.5877 GB, free: 500 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.4032, allocations: 1.312 kB / 0.5877 GB, free: 500 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.4033, allocations: 0.6562 kB / 0.5877 GB, free: 500 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.4034, allocations: 25.62 kB / 0.5878 GB, free: 496 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.309e-06/0.4034, allocations: 3.984 kB / 0.5878 GB, free: 492 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.373e-05/0.4034, allocations: 5.25 kB / 0.5878 GB, free: 488 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.4034, allocations: 3.688 kB / 0.5878 GB, free: 488 kB / 430.1 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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.778e-05/0.4035, allocations: 118 kB / 0.5879 GB, free: 364 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.722e-05/0.4035, allocations: 12.03 kB / 0.5879 GB, free: 356 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000173/0.4037, allocations: 109.2 kB / 0.588 GB, free: 288 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.4037, allocations: 9.484 kB / 0.588 GB, free: 280 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.4037, allocations: 0.6562 kB / 0.588 GB, free: 280 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.4037, allocations: 0.7031 kB / 0.588 GB, free: 280 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00032/0.404, allocations: 349 kB / 0.5884 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.404, allocations: 0 / 0.5884 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.4042, allocations: 23.81 kB / 0.5884 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.4042, allocations: 5.547 kB / 0.5884 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.4042, allocations: 6.094 kB / 0.5884 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.4042, allocations: 0.75 kB / 0.5884 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.4042, allocations: 0.9375 kB / 0.5884 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002433/0.4044, allocations: 220 kB / 0.5886 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.677e-05/0.4045, allocations: 83.48 kB / 0.5887 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.4045, allocations: 1.609 kB / 0.5887 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.225e-05/0.4046, allocations: 6.766 kB / 0.5887 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.794e-05/0.4046, allocations: 9.578 kB / 0.5887 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.4047, allocations: 4.328 kB / 0.5887 GB, free: 15.67 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.043e-05/0.4047, allocations: 82.19 kB / 0.5888 GB, free: 15.59 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.543e-06/0.4047, allocations: 1.25 kB / 0.5888 GB, free: 15.59 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002719/0.405, allocations: 46.67 kB / 0.5888 GB, free: 15.58 MB / 446.1 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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005611/0.4055, allocations: 0.7901 MB / 0.5896 GB, free: 14.87 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001356/0.4057, allocations: 68.11 kB / 0.5897 GB, free: 14.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.4057, allocations: 1.375 kB / 0.5897 GB, free: 14.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.114e-05/0.4058, allocations: 31.98 kB / 0.5897 GB, free: 14.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002145/0.406, allocations: 11.56 kB / 0.5897 GB, free: 14.83 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/0.4071, allocations: 1.411 MB / 0.5911 GB, free: 13.56 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001931/0.4073, allocations: 0.6899 MB / 0.5918 GB, free: 12.86 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.621e-05/0.4074, allocations: 7.797 kB / 0.5918 GB, free: 12.86 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.517e-05/0.4074, allocations: 18.06 kB / 0.5918 GB, free: 12.85 MB / 446.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4074, allocations: 0 / 0.5918 GB, free: 12.85 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1585/0.5659, allocations: 2.235 MB / 0.594 GB, free: 12.68 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002563/0.5662, allocations: 227.3 kB / 0.5942 GB, free: 12.42 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.708/2.274, allocations: 0.5 kB / 0.5942 GB, free: 12.42 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)