Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_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_dev_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.001135/0.001135, 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.001184/0.001184, allocations: 195.4 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.345/1.345, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9094/0.9094, allocations: 135.1 MB / 425.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 64.66 kB / 0.5055 GB, free: 5.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1446, allocations: 80.93 MB / 0.5845 GB, free: 4.453 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001893/0.1465, allocations: 0.6084 MB / 0.5851 GB, free: 3.84 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007023/0.1472, allocations: 346.7 kB / 0.5854 GB, free: 3.5 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.624e-05/0.1473, allocations: 4 kB / 0.5854 GB, free: 3.496 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.229e-05/0.1473, allocations: 0 / 0.5854 GB, free: 3.496 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.199e-05/0.1473, allocations: 3.938 kB / 0.5854 GB, free: 3.492 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000496/0.1478, allocations: 115.6 kB / 0.5855 GB, free: 3.379 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.813e-05/0.1479, allocations: 19.98 kB / 0.5856 GB, free: 3.359 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.034e-05/0.148, allocations: 4 kB / 0.5856 GB, free: 3.355 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.253e-05/0.148, allocations: 23.91 kB / 0.5856 GB, free: 3.332 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.528e-05/0.1481, allocations: 11.92 kB / 0.5856 GB, free: 3.32 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.1481, allocations: 0 / 0.5856 GB, free: 3.32 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003681/0.1485, allocations: 271.7 kB / 0.5858 GB, free: 3.055 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.71e-05/0.1485, allocations: 7.938 kB / 0.5859 GB, free: 3.047 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.077e-05/0.1485, allocations: 11.92 kB / 0.5859 GB, free: 3.035 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001828/0.1487, allocations: 103.8 kB / 0.586 GB, free: 2.934 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1487, allocations: 0 / 0.586 GB, free: 2.934 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1487, allocations: 0 / 0.586 GB, free: 2.934 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.1487, allocations: 0 / 0.586 GB, free: 2.934 MB / 494.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.0004282/0.1492, allocations: 367.7 kB / 0.5863 GB, free: 2.523 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.1492, allocations: 8.031 kB / 0.5863 GB, free: 2.516 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.302e-05/0.1493, allocations: 38.75 kB / 0.5864 GB, free: 2.469 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.956e-05/0.1493, allocations: 0.9375 kB / 0.5864 GB, free: 2.469 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.1494, allocations: 168.3 kB / 0.5865 GB, free: 2.266 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.1494, allocations: 384 / 0.5865 GB, free: 2.266 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.349e-05/0.1495, allocations: 4.375 kB / 0.5865 GB, free: 2.262 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.1496, allocations: 62.16 kB / 0.5866 GB, free: 2.195 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.1496, allocations: 7.938 kB / 0.5866 GB, free: 2.188 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.1496, allocations: 0 / 0.5866 GB, free: 2.188 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.1496, allocations: 0 / 0.5866 GB, free: 2.188 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.065e-05/0.1497, allocations: 19.98 kB / 0.5866 GB, free: 2.168 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001555/0.1498, allocations: 161.7 kB / 0.5868 GB, free: 1.961 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.722e-05/0.1499, allocations: 58.55 kB / 0.5868 GB, free: 1.895 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.062e-05/0.15, allocations: 24.86 kB / 0.5868 GB, free: 1.867 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006485/0.1506, allocations: 461.5 kB / 0.5873 GB, free: 1.324 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.1507, allocations: 34.5 kB / 0.5873 GB, free: 1.281 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.1507, allocations: 0 / 0.5873 GB, free: 1.281 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.001251/0.1519, allocations: 0.604 MB / 0.5879 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.152, allocations: 55.41 kB / 0.588 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.835e-05/0.1521, allocations: 93.86 kB / 0.5881 GB, free: 428 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.1521, allocations: 29.7 kB / 0.5881 GB, free: 392 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.105e-05/0.1521, allocations: 84.14 kB / 0.5882 GB, free: 304 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.876e-05/0.1522, allocations: 43.36 kB / 0.5882 GB, free: 260 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.157e-05/0.1522, allocations: 25.7 kB / 0.5882 GB, free: 228 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.1523, allocations: 318.8 kB / 0.5885 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.464e-05/0.1524, allocations: 27.92 kB / 0.5886 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.033e-05/0.1524, allocations: 23.98 kB / 0.5886 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.964e-05/0.1525, allocations: 52.86 kB / 0.5886 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1525, allocations: 0 / 0.5886 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001504/0.1527, allocations: 100.9 kB / 0.5887 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.1527, allocations: 11.98 kB / 0.5887 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.1527, allocations: 0 / 0.5887 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.1527, allocations: 0 / 0.5887 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.1528, allocations: 20 kB / 0.5888 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.689e-05/0.1529, allocations: 0 / 0.5888 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.762e-05/0.1529, allocations: 4 kB / 0.5888 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.1529, allocations: 7.984 kB / 0.5888 GB, free: 15.65 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 7.553e-05/0.153, allocations: 117.8 kB / 0.5889 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.109e-05/0.153, allocations: 15.84 kB / 0.5889 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000197/0.1532, allocations: 106.4 kB / 0.589 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.1532, allocations: 0 / 0.589 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1533, allocations: 0 / 0.589 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.1533, allocations: 3.984 kB / 0.589 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003656/0.1536, allocations: 358.1 kB / 0.5893 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1536, allocations: 0 / 0.5893 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.1538, allocations: 16 kB / 0.5894 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1538, allocations: 0 / 0.5894 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.1538, allocations: 12 kB / 0.5894 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.1538, allocations: 0 / 0.5894 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.1538, allocations: 4.078 kB / 0.5894 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002647/0.1541, allocations: 232.8 kB / 0.5896 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.141e-05/0.1541, allocations: 85.12 kB / 0.5897 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.1541, allocations: 0 / 0.5897 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.644e-05/0.1542, allocations: 4 kB / 0.5897 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.195e-05/0.1543, allocations: 7.984 kB / 0.5897 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.936e-06/0.1543, allocations: 12.06 kB / 0.5897 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.277e-05/0.1543, allocations: 83.28 kB / 0.5898 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1543, allocations: 0 / 0.5898 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002752/0.1546, allocations: 43.98 kB / 0.5898 GB, free: 14.47 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.000594/0.1552, allocations: 0.7838 MB / 0.5906 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001586/0.1554, allocations: 75.97 kB / 0.5907 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1554, allocations: 0 / 0.5907 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.843e-05/0.1554, allocations: 39.92 kB / 0.5907 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002138/0.1557, allocations: 0 / 0.5907 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.1568, allocations: 1.394 MB / 0.5921 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002255/0.1571, allocations: 0.6884 MB / 0.5927 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.186e-05/0.1571, allocations: 16.03 kB / 0.5927 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.498e-05/0.1572, allocations: 23.38 kB / 0.5928 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1572, allocations: 0 / 0.5928 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01701/0.1742, allocations: 2.421 MB / 0.5951 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.095/7.269, allocations: 10.42 kB / 0.5951 GB, free: 9.035 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)