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.009033/0.009033, allocations: 103.7 kB / 15.73 MB, free: 6.047 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.002038/0.002038, allocations: 196.8 kB / 16.68 MB, free: 5.961 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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.763/0.763, allocations: 132.2 MB / 422.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 63.91 kB / 0.5809 GB, free: 7.992 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4818/0.4834, allocations: 80.21 MB / 0.6592 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001651/0.4851, allocations: 0.619 MB / 0.6598 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006549/0.4857, allocations: 347.8 kB / 0.6602 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.82e-05/0.4858, allocations: 0 / 0.6602 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.926e-05/0.4858, allocations: 3.938 kB / 0.6602 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.914e-05/0.4858, allocations: 1.375 kB / 0.6602 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000457/0.4863, allocations: 122.1 kB / 0.6603 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.386e-05/0.4864, allocations: 26.97 kB / 0.6603 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.362e-05/0.4864, allocations: 4.109 kB / 0.6603 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.065e-05/0.4865, allocations: 9.422 kB / 0.6603 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.803e-05/0.4866, allocations: 19.47 kB / 0.6603 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.4866, allocations: 1.375 kB / 0.6604 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004063/0.487, allocations: 272.7 kB / 0.6606 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.568e-05/0.487, allocations: 8.203 kB / 0.6606 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.534e-05/0.487, allocations: 15.84 kB / 0.6606 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002022/0.4872, allocations: 103.6 kB / 0.6607 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.4873, allocations: 0 / 0.6607 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.234e-06/0.4873, allocations: 0.7031 kB / 0.6607 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.4873, allocations: 0 / 0.6607 GB, free: 9.062 MB / 0.4981 GB 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.0003881/0.4877, allocations: 355.9 kB / 0.6611 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.4877, allocations: 13.56 kB / 0.6611 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.889e-05/0.4877, allocations: 32.67 kB / 0.6611 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.856e-05/0.4878, allocations: 7.438 kB / 0.6611 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.651e-05/0.4879, allocations: 176.2 kB / 0.6613 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.687e-06/0.4879, allocations: 5.688 kB / 0.6613 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.4879, allocations: 3.641 kB / 0.6613 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.488, allocations: 51.28 kB / 0.6613 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.4881, allocations: 3.938 kB / 0.6614 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.4881, allocations: 1.156 kB / 0.6614 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.4881, allocations: 1.406 kB / 0.6614 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.181e-05/0.4881, allocations: 17.94 kB / 0.6614 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001373/0.4883, allocations: 166.9 kB / 0.6615 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.837e-05/0.4884, allocations: 65.67 kB / 0.6616 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.246e-05/0.4884, allocations: 28.67 kB / 0.6616 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005798/0.489, allocations: 456.4 kB / 0.6621 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.489, allocations: 33.14 kB / 0.6621 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.4891, allocations: 0 / 0.6621 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001139/0.4902, allocations: 0.5953 MB / 0.6627 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.562e-05/0.4902, allocations: 52.53 kB / 0.6627 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.592e-05/0.4903, allocations: 100.2 kB / 0.6628 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.4903, allocations: 30.73 kB / 0.6628 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.929e-05/0.4903, allocations: 81.64 kB / 0.6629 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.848e-05/0.4904, allocations: 42.75 kB / 0.663 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.443e-05/0.4904, allocations: 29.55 kB / 0.663 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.619e-05/0.4905, allocations: 318.1 kB / 0.6633 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.3e-05/0.4905, allocations: 25.95 kB / 0.6633 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.085e-05/0.4906, allocations: 23.25 kB / 0.6633 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.225e-05/0.4907, allocations: 58.62 kB / 0.6634 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.4907, allocations: 0 / 0.6634 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001495/0.4908, allocations: 101 kB / 0.6635 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.4909, allocations: 4.844 kB / 0.6635 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.4909, allocations: 0.75 kB / 0.6635 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.4909, allocations: 1.25 kB / 0.6635 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.491, allocations: 25.34 kB / 0.6635 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.491, allocations: 0 / 0.6635 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.353e-05/0.491, allocations: 5.797 kB / 0.6635 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.4911, allocations: 6.625 kB / 0.6635 GB, free: 6.32 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.143e-05/0.4911, allocations: 117.9 kB / 0.6636 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.792e-05/0.4912, allocations: 7.312 kB / 0.6637 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001811/0.4913, allocations: 102.4 kB / 0.6638 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.4914, allocations: 1.5 kB / 0.6638 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.4914, allocations: 0 / 0.6638 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.4914, allocations: 0.75 kB / 0.6638 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003255/0.4917, allocations: 361.3 kB / 0.6641 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.4917, allocations: 0 / 0.6641 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.4918, allocations: 24.53 kB / 0.6641 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.4918, allocations: 1.25 kB / 0.6641 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.4919, allocations: 6.062 kB / 0.6641 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.4919, allocations: 0 / 0.6641 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.4919, allocations: 0.6562 kB / 0.6641 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002147/0.4921, allocations: 214 kB / 0.6643 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.889e-05/0.4921, allocations: 100.7 kB / 0.6644 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.4922, allocations: 2.031 kB / 0.6644 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.692e-05/0.4922, allocations: 6.031 kB / 0.6644 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.921e-05/0.4923, allocations: 6.281 kB / 0.6644 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-06/0.4923, allocations: 3.266 kB / 0.6644 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.77e-05/0.4923, allocations: 78.62 kB / 0.6645 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4923, allocations: 0 / 0.6645 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000279/0.4926, allocations: 43.31 kB / 0.6646 GB, free: 5.422 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 (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.0005215/0.4931, allocations: 0.8009 MB / 0.6653 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001468/0.4933, allocations: 65.59 kB / 0.6654 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4933, allocations: 0 / 0.6654 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.941e-05/0.4933, allocations: 36.77 kB / 0.6654 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002152/0.4936, allocations: 6.922 kB / 0.6655 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009903/0.4945, allocations: 1.398 MB / 0.6668 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001084/0.4947, allocations: 0.6918 MB / 0.6675 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.67e-05/0.4947, allocations: 9.078 kB / 0.6675 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.829e-05/0.4948, allocations: 17.69 kB / 0.6675 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of SimCode: time 8.22e-07/0.4948, allocations: 0 / 0.6675 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02037/0.5151, allocations: 2.481 MB / 0.6699 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.389/7.904, allocations: 12.25 kB / 0.67 GB, free: 1.395 MB / 0.4981 GB (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)