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.001083/0.001083, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.339/1.339, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.793/0.793, allocations: 132.2 MB / 422.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002327/0.002327, allocations: 72.95 kB / 0.5019 GB, free: 3.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3865/0.3889, allocations: 80.19 MB / 0.5802 GB, free: 4.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.00173/0.3906, allocations: 0.5921 MB / 0.5808 GB, free: 4.199 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005707/0.3912, allocations: 346.6 kB / 0.5811 GB, free: 3.969 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.102e-05/0.3913, allocations: 0 / 0.5811 GB, free: 3.969 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.182e-05/0.3913, allocations: 4 kB / 0.5811 GB, free: 3.965 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 2.026e-05/0.3913, allocations: 0.9062 kB / 0.5811 GB, free: 3.965 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000435/0.3918, allocations: 113.7 kB / 0.5812 GB, free: 3.926 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.887e-05/0.3918, allocations: 9.969 kB / 0.5812 GB, free: 3.922 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.115e-05/0.3918, allocations: 3.484 kB / 0.5812 GB, free: 3.922 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.691e-05/0.3919, allocations: 6.859 kB / 0.5812 GB, free: 3.918 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.24e-05/0.3919, allocations: 7.141 kB / 0.5813 GB, free: 3.914 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.135e-05/0.3919, allocations: 5.062 kB / 0.5813 GB, free: 3.91 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003867/0.3923, allocations: 272.3 kB / 0.5815 GB, free: 3.844 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.097e-05/0.3923, allocations: 0.5156 kB / 0.5815 GB, free: 3.844 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.412e-05/0.3924, allocations: 11.02 kB / 0.5815 GB, free: 3.836 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001807/0.3926, allocations: 93.31 kB / 0.5816 GB, free: 3.805 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.3926, allocations: 0.625 kB / 0.5816 GB, free: 3.805 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3926, allocations: 0 / 0.5816 GB, free: 3.805 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.3926, allocations: 0.75 kB / 0.5816 GB, free: 3.805 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.0002672/0.3929, allocations: 340.1 kB / 0.5819 GB, free: 3.438 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.3929, allocations: 9.406 kB / 0.582 GB, free: 3.438 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.305e-05/0.3929, allocations: 35.36 kB / 0.582 GB, free: 3.395 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.684e-05/0.393, allocations: 2.844 kB / 0.582 GB, free: 3.395 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.36e-05/0.3931, allocations: 168.7 kB / 0.5821 GB, free: 3.195 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.3931, allocations: 5.5 kB / 0.5822 GB, free: 3.191 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.936e-05/0.3931, allocations: 1.859 kB / 0.5822 GB, free: 3.191 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.322e-05/0.3932, allocations: 36.34 kB / 0.5822 GB, free: 3.156 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.964e-06/0.3932, allocations: 5.828 kB / 0.5822 GB, free: 3.152 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.3932, allocations: 0 / 0.5822 GB, free: 3.152 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.3932, allocations: 0 / 0.5822 GB, free: 3.152 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.094e-05/0.3933, allocations: 7.562 kB / 0.5822 GB, free: 3.148 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001033/0.3934, allocations: 151.7 kB / 0.5823 GB, free: 2.957 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.904e-05/0.3934, allocations: 24.25 kB / 0.5824 GB, free: 2.93 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.532e-05/0.3934, allocations: 8.172 kB / 0.5824 GB, free: 2.922 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005944/0.394, allocations: 457.5 kB / 0.5828 GB, free: 2.449 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.394e-05/0.3941, allocations: 35.53 kB / 0.5828 GB, free: 2.406 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.3941, allocations: 0 / 0.5828 GB, free: 2.406 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004266/0.3945, allocations: 256.9 kB / 0.5831 GB, free: 2.141 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.777e-05/0.3945, allocations: 51.41 kB / 0.5831 GB, free: 2.078 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.628e-05/0.3946, allocations: 97.95 kB / 0.5832 GB, free: 1.977 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.873e-06/0.3946, allocations: 26.61 kB / 0.5833 GB, free: 1.945 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.313e-05/0.3946, allocations: 81.94 kB / 0.5833 GB, free: 1.863 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.973e-05/0.3946, allocations: 9.312 kB / 0.5833 GB, free: 1.855 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.938e-05/0.3947, allocations: 22.41 kB / 0.5834 GB, free: 1.832 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.684e-05/0.3947, allocations: 313.9 kB / 0.5837 GB, free: 1.52 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.8e-05/0.3947, allocations: 13.16 kB / 0.5837 GB, free: 1.512 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.334e-05/0.3947, allocations: 18.78 kB / 0.5837 GB, free: 1.492 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.326e-05/0.3948, allocations: 28.61 kB / 0.5837 GB, free: 1.469 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.3948, allocations: 0 / 0.5837 GB, free: 1.469 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.841e-05/0.3949, allocations: 55.58 kB / 0.5838 GB, free: 1.426 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.3949, allocations: 9.844 kB / 0.5838 GB, free: 1.422 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.3949, allocations: 4.875 kB / 0.5838 GB, free: 1.418 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.3949, allocations: 0.875 kB / 0.5838 GB, free: 1.418 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.475e-05/0.395, allocations: 7.25 kB / 0.5838 GB, free: 1.418 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.395, allocations: 0.875 kB / 0.5838 GB, free: 1.418 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.85e-05/0.395, allocations: 2.031 kB / 0.5838 GB, free: 1.418 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.395, allocations: 2.125 kB / 0.5838 GB, free: 1.418 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.169e-05/0.3951, allocations: 109.4 kB / 0.5839 GB, free: 1.305 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.373e-05/0.3951, allocations: 12.91 kB / 0.5839 GB, free: 1.293 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001151/0.3952, allocations: 68.77 kB / 0.584 GB, free: 1.234 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.3952, allocations: 0 / 0.584 GB, free: 1.234 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.3953, allocations: 0 / 0.584 GB, free: 1.234 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3953, allocations: 1.438 kB / 0.584 GB, free: 1.234 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.852e-05/0.3953, allocations: 152.8 kB / 0.5841 GB, free: 1.043 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3953, allocations: 0.6094 kB / 0.5841 GB, free: 1.043 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.093e-05/0.3954, allocations: 6.016 kB / 0.5841 GB, free: 1.043 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.3954, allocations: 4.547 kB / 0.5841 GB, free: 1.039 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.3954, allocations: 0.75 kB / 0.5841 GB, free: 1.039 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.3954, allocations: 5.312 kB / 0.5842 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3954, allocations: 0.5156 kB / 0.5842 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001179/0.3955, allocations: 75.73 kB / 0.5842 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.576e-05/0.3956, allocations: 81.75 kB / 0.5843 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.3956, allocations: 1.625 kB / 0.5843 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.743e-05/0.3956, allocations: 5.312 kB / 0.5843 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.728e-05/0.3957, allocations: 3.672 kB / 0.5843 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.3957, allocations: 1.062 kB / 0.5843 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.721e-05/0.3957, allocations: 80.89 kB / 0.5844 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3957, allocations: 0.5625 kB / 0.5844 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002216/0.3959, allocations: 23.75 kB / 0.5844 GB, free: 0.7812 MB / 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.000325/0.3962, allocations: 0.6415 MB / 0.585 GB, free: 176 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 8.524e-05/0.3963, allocations: 21.77 kB / 0.5851 GB, free: 168 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.3964, allocations: 4.75 kB / 0.5851 GB, free: 164 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.843e-05/0.3964, allocations: 6.328 kB / 0.5851 GB, free: 164 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001364/0.3965, allocations: 6.141 kB / 0.5851 GB, free: 160 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008878/0.3974, allocations: 1.135 MB / 0.5862 GB, free: 15.03 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002112/0.3976, allocations: 0.6758 MB / 0.5868 GB, free: 14.33 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3e-05/0.3977, allocations: 7.562 kB / 0.5869 GB, free: 14.33 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.65e-05/0.3977, allocations: 9.984 kB / 0.5869 GB, free: 14.32 MB / 446.1 MB Notification: Performance of SimCode: time 1.633e-06/0.3977, allocations: 0 / 0.5869 GB, free: 14.32 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01689/0.4146, allocations: 1.698 MB / 0.5885 GB, free: 13.97 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.213/7.628, allocations: 7.188 kB / 0.5885 GB, free: 13.97 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)