Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.RegNonZeroPowerDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",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.0008851/0.000885, allocations: 97.41 kB / 15.36 MB, free: 0.7344 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.005442/0.005442, allocations: 170.8 kB / 16.27 MB, free: 6.652 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.32/1.32, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7609/0.7609, allocations: 132.3 MB / 423.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003658/0.0003659, allocations: 8 kB / 0.5041 GB, free: 3.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4013/0.4016, allocations: 81.57 MB / 0.5838 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.000649/0.4023, allocations: 333.9 kB / 0.5841 GB, free: 3.812 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006696/0.403, allocations: 358.2 kB / 0.5844 GB, free: 3.586 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.664e-05/0.4031, allocations: 3.938 kB / 0.5844 GB, free: 3.582 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.546e-05/0.4031, allocations: 0 / 0.5844 GB, free: 3.582 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 1.967e-05/0.4031, allocations: 0.6562 kB / 0.5844 GB, free: 3.582 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004027/0.4035, allocations: 78.81 kB / 0.5845 GB, free: 3.551 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.073e-05/0.4036, allocations: 10.56 kB / 0.5845 GB, free: 3.547 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.537e-05/0.4036, allocations: 2.438 kB / 0.5845 GB, free: 3.547 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.042e-05/0.4036, allocations: 14.34 kB / 0.5845 GB, free: 3.535 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.592e-05/0.4037, allocations: 3.406 kB / 0.5845 GB, free: 3.535 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.156e-05/0.4037, allocations: 1.281 kB / 0.5845 GB, free: 3.535 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004417/0.4042, allocations: 270.7 kB / 0.5848 GB, free: 3.469 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.291e-05/0.4042, allocations: 1.781 kB / 0.5848 GB, free: 3.469 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.585e-05/0.4042, allocations: 31.59 kB / 0.5848 GB, free: 3.434 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001959/0.4044, allocations: 89.64 kB / 0.5849 GB, free: 3.406 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.4044, allocations: 0.7031 kB / 0.5849 GB, free: 3.406 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4044, allocations: 0.75 kB / 0.5849 GB, free: 3.406 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.4045, allocations: 4 kB / 0.5849 GB, free: 3.402 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002768/0.4047, allocations: 340 kB / 0.5852 GB, free: 3.031 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.4048, allocations: 10.67 kB / 0.5852 GB, free: 3.031 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.344e-05/0.4048, allocations: 30.75 kB / 0.5853 GB, free: 2.992 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.263e-05/0.4049, allocations: 4.188 kB / 0.5853 GB, free: 2.992 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.041e-05/0.405, allocations: 162 kB / 0.5854 GB, free: 2.797 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.405, allocations: 4.312 kB / 0.5854 GB, free: 2.793 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.772e-05/0.405, allocations: 6.188 kB / 0.5854 GB, free: 2.789 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.29e-05/0.4051, allocations: 41.55 kB / 0.5855 GB, free: 2.75 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.4051, allocations: 3.938 kB / 0.5855 GB, free: 2.746 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-06/0.4051, allocations: 0 / 0.5855 GB, free: 2.746 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.4051, allocations: 1.188 kB / 0.5855 GB, free: 2.746 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.046e-05/0.4052, allocations: 3.141 kB / 0.5855 GB, free: 2.746 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001139/0.4053, allocations: 154.5 kB / 0.5856 GB, free: 2.555 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.183e-05/0.4053, allocations: 19.83 kB / 0.5857 GB, free: 2.531 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.62e-05/0.4053, allocations: 11.7 kB / 0.5857 GB, free: 2.52 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006158/0.406, allocations: 464.7 kB / 0.5861 GB, free: 2.043 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.69e-05/0.406, allocations: 36.48 kB / 0.5861 GB, free: 2 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.406, allocations: 0 / 0.5861 GB, free: 2 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004492/0.4065, allocations: 252.4 kB / 0.5864 GB, free: 1.738 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.771e-05/0.4065, allocations: 51.41 kB / 0.5864 GB, free: 1.676 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.239e-05/0.4065, allocations: 98.17 kB / 0.5865 GB, free: 1.574 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.327e-06/0.4066, allocations: 26.52 kB / 0.5866 GB, free: 1.543 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.473e-05/0.4066, allocations: 85.11 kB / 0.5866 GB, free: 1.457 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.202e-05/0.4066, allocations: 10.62 kB / 0.5866 GB, free: 1.449 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.102e-05/0.4066, allocations: 12.22 kB / 0.5867 GB, free: 1.434 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.688e-05/0.4067, allocations: 312.5 kB / 0.587 GB, free: 1.121 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.818e-05/0.4067, allocations: 12.19 kB / 0.587 GB, free: 1.113 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.288e-05/0.4067, allocations: 16.06 kB / 0.587 GB, free: 1.098 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.27e-05/0.4068, allocations: 32.56 kB / 0.587 GB, free: 1.07 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.4068, allocations: 0 / 0.587 GB, free: 1.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.434e-05/0.4069, allocations: 48.09 kB / 0.5871 GB, free: 1.035 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.4069, allocations: 8.875 kB / 0.5871 GB, free: 1.031 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.4069, allocations: 5.688 kB / 0.5871 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.4069, allocations: 0.5938 kB / 0.5871 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.655e-05/0.407, allocations: 11.42 kB / 0.5871 GB, free: 1.023 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.407, allocations: 0.6875 kB / 0.5871 GB, free: 1.023 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.873e-05/0.407, allocations: 5.438 kB / 0.5871 GB, free: 1.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.407, allocations: 2.109 kB / 0.5871 GB, free: 1.02 MB / 430.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.705e-05/0.4071, allocations: 118 kB / 0.5872 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.499e-05/0.4071, allocations: 13.84 kB / 0.5872 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001169/0.4072, allocations: 58.92 kB / 0.5873 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.4072, allocations: 4.844 kB / 0.5873 GB, free: 0.832 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.4073, allocations: 0 / 0.5873 GB, free: 0.832 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.768e-06/0.4073, allocations: 1.734 kB / 0.5873 GB, free: 0.832 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.44e-05/0.4073, allocations: 148.7 kB / 0.5874 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.4073, allocations: 4 kB / 0.5874 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.385e-05/0.4074, allocations: 5.969 kB / 0.5874 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.4074, allocations: 4.688 kB / 0.5874 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.4074, allocations: 1.719 kB / 0.5874 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.4074, allocations: 3.984 kB / 0.5874 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/0.4074, allocations: 0.8906 kB / 0.5874 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001251/0.4076, allocations: 81.09 kB / 0.5875 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.571e-05/0.4076, allocations: 81.84 kB / 0.5876 GB, free: 472 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.4076, allocations: 5.75 kB / 0.5876 GB, free: 468 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.874e-05/0.4077, allocations: 4.797 kB / 0.5876 GB, free: 464 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.854e-05/0.4077, allocations: 2.203 kB / 0.5876 GB, free: 464 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.4077, allocations: 1.969 kB / 0.5876 GB, free: 464 kB / 430.1 MB Notification: Performance of sorting global known variables: time 1.716e-05/0.4077, allocations: 81 kB / 0.5877 GB, free: 384 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4077, allocations: 0 / 0.5877 GB, free: 384 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002234/0.4079, allocations: 24.42 kB / 0.5877 GB, free: 380 kB / 430.1 MB 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 (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.0004477/0.4084, allocations: 0.6444 MB / 0.5883 GB, free: 15.76 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.247e-05/0.4085, allocations: 17.5 kB / 0.5884 GB, free: 15.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4085, allocations: 0 / 0.5884 GB, free: 15.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.687e-05/0.4085, allocations: 7.5 kB / 0.5884 GB, free: 15.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001501/0.4087, allocations: 5.984 kB / 0.5884 GB, free: 15.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008684/0.4096, allocations: 1.141 MB / 0.5895 GB, free: 14.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001893/0.4098, allocations: 0.6763 MB / 0.5901 GB, free: 13.91 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.238e-05/0.4098, allocations: 6.969 kB / 0.5901 GB, free: 13.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.23e-05/0.4098, allocations: 15.62 kB / 0.5902 GB, free: 13.89 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4098, allocations: 0 / 0.5902 GB, free: 13.89 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0999/0.5097, allocations: 1.517 MB / 0.5916 GB, free: 13.76 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001814/0.51, allocations: 215.3 kB / 0.5919 GB, free: 13.51 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.63/2.14, allocations: 0 / 0.5919 GB, free: 13.51 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)