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.00102/0.00102, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.001366/0.001365, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 223.2 MB / 240 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7379/0.7379, allocations: 132.4 MB / 423.4 MB, free: 2.051 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003147/0.0003147, allocations: 9.438 kB / 0.5035 GB, free: 4.168 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3851/0.3854, allocations: 81.57 MB / 0.5832 GB, free: 4 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.0006329/0.3861, allocations: 321.8 kB / 0.5835 GB, free: 3.785 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005719/0.3866, allocations: 318.2 kB / 0.5838 GB, free: 3.578 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.92e-05/0.3867, allocations: 0 / 0.5838 GB, free: 3.578 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.179e-05/0.3867, allocations: 0 / 0.5838 GB, free: 3.578 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 1.714e-05/0.3867, allocations: 0 / 0.5838 GB, free: 3.578 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000473/0.3872, allocations: 75.92 kB / 0.5838 GB, free: 3.551 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.193e-05/0.3873, allocations: 14.91 kB / 0.5839 GB, free: 3.543 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.67e-05/0.3873, allocations: 0.6562 kB / 0.5839 GB, free: 3.543 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.571e-05/0.3874, allocations: 8.188 kB / 0.5839 GB, free: 3.539 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.811e-05/0.3874, allocations: 3.203 kB / 0.5839 GB, free: 3.539 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.3874, allocations: 3.281 kB / 0.5839 GB, free: 3.539 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005106/0.388, allocations: 265.4 kB / 0.5841 GB, free: 3.477 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.057e-05/0.388, allocations: 1.406 kB / 0.5841 GB, free: 3.477 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.363e-05/0.388, allocations: 32.25 kB / 0.5842 GB, free: 3.441 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001608/0.3882, allocations: 53.16 kB / 0.5842 GB, free: 3.43 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3882, allocations: 4.875 kB / 0.5842 GB, free: 3.426 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3882, allocations: 0 / 0.5842 GB, free: 3.426 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.3882, allocations: 4 kB / 0.5842 GB, free: 3.422 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.000287/0.3885, allocations: 341.6 kB / 0.5845 GB, free: 3.055 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.3885, allocations: 8.531 kB / 0.5846 GB, free: 3.055 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.551e-05/0.3886, allocations: 31.28 kB / 0.5846 GB, free: 3.016 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.656e-05/0.3886, allocations: 2.906 kB / 0.5846 GB, free: 3.016 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.676e-05/0.3887, allocations: 164.5 kB / 0.5847 GB, free: 2.816 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.3887, allocations: 1.578 kB / 0.5847 GB, free: 2.816 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.3887, allocations: 5.188 kB / 0.5848 GB, free: 2.812 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.369e-05/0.3888, allocations: 39.77 kB / 0.5848 GB, free: 2.773 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.3888, allocations: 0 / 0.5848 GB, free: 2.773 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.3889, allocations: 1.828 kB / 0.5848 GB, free: 2.773 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.3889, allocations: 0 / 0.5848 GB, free: 2.773 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.932e-05/0.3889, allocations: 7.094 kB / 0.5848 GB, free: 2.77 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001153/0.389, allocations: 162.5 kB / 0.585 GB, free: 2.57 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.079e-05/0.3891, allocations: 23.7 kB / 0.585 GB, free: 2.543 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.609e-05/0.3891, allocations: 12.23 kB / 0.585 GB, free: 2.531 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005782/0.3897, allocations: 463.8 kB / 0.5854 GB, free: 2.055 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.3897, allocations: 40.34 kB / 0.5855 GB, free: 2.008 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.3897, allocations: 0 / 0.5855 GB, free: 2.008 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004661/0.3902, allocations: 248.2 kB / 0.5857 GB, free: 1.75 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.852e-05/0.3902, allocations: 52.06 kB / 0.5858 GB, free: 1.688 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.069e-05/0.3903, allocations: 98.11 kB / 0.5858 GB, free: 1.586 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.003e-06/0.3903, allocations: 25.7 kB / 0.5859 GB, free: 1.555 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.531e-05/0.3903, allocations: 82.31 kB / 0.586 GB, free: 1.473 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.933e-05/0.3903, allocations: 13.58 kB / 0.586 GB, free: 1.461 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.788e-06/0.3903, allocations: 5.406 kB / 0.586 GB, free: 1.457 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.163e-05/0.3904, allocations: 316.1 kB / 0.5863 GB, free: 1.141 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.647e-05/0.3904, allocations: 5.312 kB / 0.5863 GB, free: 1.141 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.278e-05/0.3904, allocations: 19.84 kB / 0.5863 GB, free: 1.121 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.266e-05/0.3905, allocations: 3.719 kB / 0.5863 GB, free: 1.121 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.3905, allocations: 1.406 kB / 0.5863 GB, free: 1.121 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.367e-05/0.3906, allocations: 56.2 kB / 0.5864 GB, free: 1.078 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.3906, allocations: 4.938 kB / 0.5864 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.3906, allocations: 0.875 kB / 0.5864 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.3906, allocations: 1.609 kB / 0.5864 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.752e-05/0.3907, allocations: 10.69 kB / 0.5864 GB, free: 1.074 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.8e-06/0.3907, allocations: 1.094 kB / 0.5864 GB, free: 1.074 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.833e-05/0.3907, allocations: 1.938 kB / 0.5864 GB, free: 1.074 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-06/0.3907, allocations: 1.094 kB / 0.5864 GB, free: 1.074 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.626e-05/0.3908, allocations: 121.6 kB / 0.5865 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.365e-05/0.3908, allocations: 2.219 kB / 0.5865 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001173/0.3909, allocations: 66.69 kB / 0.5866 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.3909, allocations: 1.031 kB / 0.5866 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3909, allocations: 0 / 0.5866 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.391, allocations: 1.734 kB / 0.5866 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.684e-05/0.391, allocations: 152.4 kB / 0.5867 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.391, allocations: 0.9375 kB / 0.5867 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.244e-05/0.3911, allocations: 9.359 kB / 0.5867 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3911, allocations: 0.875 kB / 0.5867 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.3911, allocations: 5 kB / 0.5867 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.3911, allocations: 0.6562 kB / 0.5867 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3911, allocations: 1.125 kB / 0.5867 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001222/0.3913, allocations: 74.22 kB / 0.5868 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.543e-05/0.3913, allocations: 79.53 kB / 0.5869 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.3913, allocations: 8.594 kB / 0.5869 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.661e-05/0.3913, allocations: 6.531 kB / 0.5869 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.544e-05/0.3914, allocations: 5.875 kB / 0.5869 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-06/0.3914, allocations: 1.516 kB / 0.5869 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.865e-05/0.3914, allocations: 82.39 kB / 0.587 GB, free: 444 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3914, allocations: 0 / 0.587 GB, free: 444 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002219/0.3916, allocations: 23.23 kB / 0.587 GB, free: 440 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 (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.0004141/0.392, allocations: 0.637 MB / 0.5876 GB, free: 15.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.5e-05/0.3921, allocations: 17.48 kB / 0.5876 GB, free: 15.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3922, allocations: 0 / 0.5876 GB, free: 15.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.113e-05/0.3922, allocations: 14.83 kB / 0.5876 GB, free: 15.81 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000139/0.3923, allocations: 5.203 kB / 0.5876 GB, free: 15.81 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005156/0.3928, allocations: 383.8 kB / 0.588 GB, free: 15.45 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002051/0.3931, allocations: 0.6769 MB / 0.5887 GB, free: 14.75 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.102e-05/0.3931, allocations: 4.125 kB / 0.5887 GB, free: 14.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.758e-05/0.3931, allocations: 13.42 kB / 0.5887 GB, free: 14.74 MB / 446.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3931, allocations: 4.062 kB / 0.5887 GB, free: 14.73 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01173/0.4049, allocations: 1.511 MB / 0.5902 GB, free: 14.6 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003016/0.4052, allocations: 200.8 kB / 0.5904 GB, free: 14.37 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.627/2.032, allocations: 1.031 kB / 0.5904 GB, free: 14.37 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/linux/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) Environment - environmentSimulation: