Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.RegNonZeroPowerDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="IDEAS_dev_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.001675/0.001675, 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.002066/0.002066, allocations: 192.1 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.397/1.397, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9127/0.9127, allocations: 135.1 MB / 425.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 70.23 kB / 0.5055 GB, free: 5.184 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1403, allocations: 80.92 MB / 0.5845 GB, free: 4.41 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001663/0.142, allocations: 0.5834 MB / 0.5851 GB, free: 3.824 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005852/0.1426, allocations: 338.8 kB / 0.5854 GB, free: 3.492 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.837e-05/0.1426, allocations: 4 kB / 0.5854 GB, free: 3.488 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.498e-06/0.1426, allocations: 0 / 0.5854 GB, free: 3.488 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.028e-05/0.1427, allocations: 0 / 0.5854 GB, free: 3.488 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004131/0.1431, allocations: 110.7 kB / 0.5855 GB, free: 3.383 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.433e-05/0.1431, allocations: 23.86 kB / 0.5855 GB, free: 3.359 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.261e-05/0.1432, allocations: 0 / 0.5855 GB, free: 3.359 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.349e-05/0.1432, allocations: 4 kB / 0.5855 GB, free: 3.355 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.672e-05/0.1432, allocations: 4 kB / 0.5855 GB, free: 3.352 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.143e-05/0.1433, allocations: 0 / 0.5855 GB, free: 3.352 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000347/0.1436, allocations: 271.6 kB / 0.5858 GB, free: 3.086 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.111e-05/0.1436, allocations: 4 kB / 0.5858 GB, free: 3.082 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.069e-05/0.1437, allocations: 11.92 kB / 0.5858 GB, free: 3.07 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.1438, allocations: 91.84 kB / 0.5859 GB, free: 2.98 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.1438, allocations: 0 / 0.5859 GB, free: 2.98 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1438, allocations: 0 / 0.5859 GB, free: 2.98 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.037e-06/0.1438, allocations: 4 kB / 0.5859 GB, free: 2.977 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003029/0.1441, allocations: 339.5 kB / 0.5862 GB, free: 2.594 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.1442, allocations: 15.97 kB / 0.5862 GB, free: 2.578 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.748e-05/0.1442, allocations: 34.75 kB / 0.5863 GB, free: 2.535 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.48e-05/0.1443, allocations: 4.938 kB / 0.5863 GB, free: 2.531 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.35e-05/0.1444, allocations: 160.7 kB / 0.5864 GB, free: 2.336 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.797e-06/0.1444, allocations: 4.375 kB / 0.5864 GB, free: 2.332 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.742e-05/0.1444, allocations: 384 / 0.5864 GB, free: 2.332 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.46e-05/0.1445, allocations: 38.25 kB / 0.5865 GB, free: 2.289 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.1445, allocations: 7.875 kB / 0.5865 GB, free: 2.281 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.1445, allocations: 4 kB / 0.5865 GB, free: 2.277 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.1445, allocations: 0 / 0.5865 GB, free: 2.277 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.894e-05/0.1446, allocations: 4 kB / 0.5865 GB, free: 2.273 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001342/0.1447, allocations: 153.6 kB / 0.5866 GB, free: 2.074 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.399e-05/0.1447, allocations: 22.61 kB / 0.5866 GB, free: 2.043 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.667e-05/0.1448, allocations: 8.922 kB / 0.5866 GB, free: 2.031 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006641/0.1454, allocations: 461.4 kB / 0.5871 GB, free: 1.488 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.1455, allocations: 34.56 kB / 0.5871 GB, free: 1.445 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 2.264e-06/0.1455, allocations: 4 kB / 0.5871 GB, free: 1.441 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004684/0.146, allocations: 258.2 kB / 0.5874 GB, free: 1.137 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.47e-05/0.146, allocations: 51.41 kB / 0.5874 GB, free: 1.074 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.165e-05/0.1461, allocations: 97.86 kB / 0.5875 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.1461, allocations: 25.7 kB / 0.5875 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.611e-05/0.1461, allocations: 84.47 kB / 0.5876 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.908e-05/0.1461, allocations: 11.89 kB / 0.5876 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.124e-05/0.1462, allocations: 17.72 kB / 0.5876 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.607e-05/0.1463, allocations: 310.8 kB / 0.5879 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.173e-05/0.1463, allocations: 11.98 kB / 0.588 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.575e-05/0.1463, allocations: 13.72 kB / 0.588 GB, free: 484 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.749e-05/0.1464, allocations: 29.72 kB / 0.588 GB, free: 448 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1464, allocations: 3.938 kB / 0.588 GB, free: 444 kB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.861e-05/0.1465, allocations: 49.69 kB / 0.588 GB, free: 388 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.1465, allocations: 7.938 kB / 0.5881 GB, free: 380 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1465, allocations: 0 / 0.5881 GB, free: 380 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.1465, allocations: 4.141 kB / 0.5881 GB, free: 376 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.753e-05/0.1466, allocations: 4 kB / 0.5881 GB, free: 372 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.1466, allocations: 7.875 kB / 0.5881 GB, free: 364 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.177e-05/0.1466, allocations: 8 kB / 0.5881 GB, free: 356 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.1466, allocations: 3.984 kB / 0.5881 GB, free: 352 kB / 494.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 6.363e-05/0.1467, allocations: 113.9 kB / 0.5882 GB, free: 228 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.937e-05/0.1467, allocations: 11.84 kB / 0.5882 GB, free: 216 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001221/0.1469, allocations: 57.17 kB / 0.5883 GB, free: 148 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.1469, allocations: 0 / 0.5883 GB, free: 148 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1469, allocations: 0 / 0.5883 GB, free: 148 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1469, allocations: 0 / 0.5883 GB, free: 148 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001068/0.147, allocations: 149.7 kB / 0.5884 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.147, allocations: 4 kB / 0.5884 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.228e-05/0.1471, allocations: 7.984 kB / 0.5884 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.1471, allocations: 7.938 kB / 0.5884 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.298e-06/0.1471, allocations: 11.94 kB / 0.5884 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1471, allocations: 0 / 0.5884 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1471, allocations: 0 / 0.5884 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001349/0.1473, allocations: 69.12 kB / 0.5885 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.251e-05/0.1473, allocations: 85.08 kB / 0.5886 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/0.1473, allocations: 8.062 kB / 0.5886 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.993e-05/0.1474, allocations: 3.984 kB / 0.5886 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.204e-05/0.1474, allocations: 0 / 0.5886 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.1474, allocations: 4 kB / 0.5886 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.773e-05/0.1474, allocations: 79.22 kB / 0.5887 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.2e-07/0.1474, allocations: 0 / 0.5887 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002167/0.1476, allocations: 20 kB / 0.5887 GB, free: 15.62 MB / 0.4981 GB 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.0004393/0.1481, allocations: 0.6476 MB / 0.5893 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.304e-05/0.1482, allocations: 12 kB / 0.5893 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1482, allocations: 0 / 0.5893 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.971e-05/0.1482, allocations: 15.92 kB / 0.5893 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000139/0.1484, allocations: 4 kB / 0.5893 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009043/0.1493, allocations: 1.149 MB / 0.5905 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001902/0.1495, allocations: 0.6729 MB / 0.5911 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.985e-05/0.1495, allocations: 7.938 kB / 0.5911 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.95e-05/0.1496, allocations: 11.42 kB / 0.5911 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1496, allocations: 0 / 0.5911 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01832/0.1679, allocations: 1.702 MB / 0.5928 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.019/7.187, allocations: 14.62 kB / 0.5928 GB, free: 11.38 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)