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.001106/0.001106, allocations: 91.53 kB / 15.06 MB, free: 1.098 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.001492/0.001491, allocations: 172.7 kB / 15.95 MB, free: 208 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.394/1.394, allocations: 223.2 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9043/0.9043, allocations: 135.3 MB / 426.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000319/0.000319, allocations: 16.62 kB / 0.5071 GB, free: 4.992 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1525, allocations: 82.31 MB / 0.5875 GB, free: 2.855 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.0006411/0.1532, allocations: 311.1 kB / 0.5878 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006399/0.1538, allocations: 312.9 kB / 0.5881 GB, free: 2.242 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.731e-05/0.1539, allocations: 4 kB / 0.5881 GB, free: 2.238 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.767e-06/0.1539, allocations: 3.938 kB / 0.5881 GB, free: 2.234 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.218e-05/0.1539, allocations: 4 kB / 0.5881 GB, free: 2.23 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003078/0.1542, allocations: 75.78 kB / 0.5882 GB, free: 2.156 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.054e-05/0.1543, allocations: 8 kB / 0.5882 GB, free: 2.148 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.605e-05/0.1543, allocations: 3.984 kB / 0.5882 GB, free: 2.145 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.637e-05/0.1543, allocations: 7.938 kB / 0.5882 GB, free: 2.137 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.069e-05/0.1544, allocations: 3.984 kB / 0.5882 GB, free: 2.133 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.818e-06/0.1544, allocations: 0 / 0.5882 GB, free: 2.133 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003266/0.1547, allocations: 267.7 kB / 0.5884 GB, free: 1.871 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.341e-06/0.1548, allocations: 4 kB / 0.5884 GB, free: 1.867 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.9e-05/0.1548, allocations: 25.7 kB / 0.5885 GB, free: 1.836 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001/0.1549, allocations: 55.89 kB / 0.5885 GB, free: 1.781 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1549, allocations: 0 / 0.5885 GB, free: 1.781 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1549, allocations: 0 / 0.5885 GB, free: 1.781 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.948e-06/0.1549, allocations: 4 kB / 0.5885 GB, free: 1.777 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.0002973/0.1552, allocations: 339.3 kB / 0.5888 GB, free: 1.398 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.1553, allocations: 8.031 kB / 0.5889 GB, free: 1.391 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.369e-05/0.1553, allocations: 30.56 kB / 0.5889 GB, free: 1.352 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.615e-05/0.1554, allocations: 8 kB / 0.5889 GB, free: 1.344 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.1555, allocations: 171 kB / 0.5891 GB, free: 1.137 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.407e-06/0.1555, allocations: 0 / 0.5891 GB, free: 1.137 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/0.1555, allocations: 3.984 kB / 0.5891 GB, free: 1.133 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.573e-05/0.1556, allocations: 37.7 kB / 0.5891 GB, free: 1.09 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.1556, allocations: 0 / 0.5891 GB, free: 1.09 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.1557, allocations: 0 / 0.5891 GB, free: 1.09 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.1557, allocations: 0 / 0.5891 GB, free: 1.09 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.806e-05/0.1557, allocations: 3.938 kB / 0.5891 GB, free: 1.086 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001676/0.1559, allocations: 161.9 kB / 0.5893 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.874e-05/0.1559, allocations: 26.53 kB / 0.5893 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.637e-05/0.1559, allocations: 8.922 kB / 0.5893 GB, free: 0.832 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006944/0.1566, allocations: 461.5 kB / 0.5897 GB, free: 296 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.1567, allocations: 34.56 kB / 0.5898 GB, free: 252 kB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.1567, allocations: 0 / 0.5898 GB, free: 252 kB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005581/0.1572, allocations: 254.2 kB / 0.59 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/0.1573, allocations: 55.62 kB / 0.5901 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.504e-05/0.1574, allocations: 97.84 kB / 0.5901 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.1574, allocations: 25.7 kB / 0.5902 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.057e-05/0.1574, allocations: 80.14 kB / 0.5903 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-05/0.1574, allocations: 7.906 kB / 0.5903 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-06/0.1574, allocations: 0 / 0.5903 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.1576, allocations: 318.8 kB / 0.5906 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.988e-05/0.1576, allocations: 11.98 kB / 0.5906 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.412e-05/0.1576, allocations: 17.84 kB / 0.5906 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.622e-05/0.1576, allocations: 11.94 kB / 0.5906 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.1577, allocations: 3.938 kB / 0.5906 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.627e-05/0.1578, allocations: 49.69 kB / 0.5907 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.1578, allocations: 5.875 kB / 0.5907 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.1578, allocations: 0 / 0.5907 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.1578, allocations: 4 kB / 0.5907 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.003e-05/0.1579, allocations: 8.062 kB / 0.5907 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.1579, allocations: 3.938 kB / 0.5907 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.07e-05/0.1579, allocations: 4 kB / 0.5907 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.503e-06/0.1579, allocations: 0 / 0.5907 GB, free: 15.2 MB / 0.4981 GB 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 7.078e-05/0.158, allocations: 113.8 kB / 0.5908 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.165e-05/0.158, allocations: 8 kB / 0.5908 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001277/0.1582, allocations: 53.09 kB / 0.5908 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1582, allocations: 4 kB / 0.5908 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.1582, allocations: 0 / 0.5908 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1582, allocations: 0 / 0.5908 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/0.1583, allocations: 161.6 kB / 0.591 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1583, allocations: 3.938 kB / 0.591 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.926e-05/0.1584, allocations: 7.938 kB / 0.591 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1584, allocations: 4 kB / 0.591 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.1584, allocations: 7.984 kB / 0.591 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1584, allocations: 0 / 0.591 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1584, allocations: 0 / 0.591 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/0.1586, allocations: 77.36 kB / 0.5911 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.269e-05/0.1586, allocations: 85.05 kB / 0.5912 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.1586, allocations: 4.031 kB / 0.5912 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.449e-05/0.1587, allocations: 0 / 0.5912 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.978e-05/0.1587, allocations: 3.984 kB / 0.5912 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.1587, allocations: 4 kB / 0.5912 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.236e-05/0.1587, allocations: 75.28 kB / 0.5913 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1587, allocations: 160 / 0.5913 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002249/0.159, allocations: 32 kB / 0.5913 GB, free: 14.46 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 (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.0004105/0.1594, allocations: 0.6358 MB / 0.5919 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.912e-05/0.1595, allocations: 19.98 kB / 0.5919 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1595, allocations: 0 / 0.5919 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.519e-05/0.1595, allocations: 12.12 kB / 0.5919 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001356/0.1596, allocations: 0 / 0.5919 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004551/0.1601, allocations: 375.6 kB / 0.5923 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001834/0.1603, allocations: 0.677 MB / 0.593 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.851e-05/0.1603, allocations: 8 kB / 0.593 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.856e-05/0.1604, allocations: 15.42 kB / 0.593 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of SimCode: time 2.81e-07/0.1604, allocations: 0 / 0.593 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01097/0.1713, allocations: 1.52 MB / 0.5945 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001684/0.1716, allocations: 198.7 kB / 0.5947 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.727/1.899, allocations: 0 / 0.5947 GB, free: 11.07 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: