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.001077/0.001077, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001049/0.001049, allocations: 188.8 kB / 16.25 MB, free: 6.633 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.349/1.349, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9195/0.9195, allocations: 135.1 MB / 425.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 64.06 kB / 0.505 GB, free: 5.543 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1698, allocations: 80.93 MB / 0.584 GB, free: 4.781 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.002116/0.172, allocations: 0.6378 MB / 0.5846 GB, free: 4.137 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007144/0.1727, allocations: 356.5 kB / 0.585 GB, free: 3.789 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.125e-05/0.1728, allocations: 0 / 0.585 GB, free: 3.789 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.994e-05/0.1728, allocations: 0 / 0.585 GB, free: 3.789 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.189e-05/0.1728, allocations: 0 / 0.585 GB, free: 3.789 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005502/0.1734, allocations: 91.84 kB / 0.5851 GB, free: 3.699 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.034e-05/0.1735, allocations: 15.88 kB / 0.5851 GB, free: 3.684 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.532e-05/0.1735, allocations: 7.984 kB / 0.5851 GB, free: 3.676 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.894e-05/0.1735, allocations: 3.938 kB / 0.5851 GB, free: 3.672 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.673e-05/0.1736, allocations: 11.98 kB / 0.5851 GB, free: 3.66 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.208e-05/0.1736, allocations: 0 / 0.5851 GB, free: 3.66 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003983/0.174, allocations: 267.7 kB / 0.5854 GB, free: 3.398 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.642e-05/0.174, allocations: 7.984 kB / 0.5854 GB, free: 3.391 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.114e-05/0.1741, allocations: 3.938 kB / 0.5854 GB, free: 3.387 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002071/0.1743, allocations: 91.84 kB / 0.5855 GB, free: 3.297 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1743, allocations: 0 / 0.5855 GB, free: 3.297 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1743, allocations: 0 / 0.5855 GB, free: 3.297 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.1743, allocations: 4 kB / 0.5855 GB, free: 3.293 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.0003903/0.1747, allocations: 335.5 kB / 0.5858 GB, free: 2.914 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.1748, allocations: 16.03 kB / 0.5858 GB, free: 2.898 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.014e-05/0.1748, allocations: 34.69 kB / 0.5858 GB, free: 2.855 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.345e-05/0.1749, allocations: 0.9375 kB / 0.5858 GB, free: 2.855 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.175, allocations: 172.7 kB / 0.586 GB, free: 2.648 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.175, allocations: 384 / 0.586 GB, free: 2.648 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.138e-05/0.1751, allocations: 384 / 0.586 GB, free: 2.648 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.837e-05/0.1752, allocations: 30.27 kB / 0.586 GB, free: 2.613 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.1752, allocations: 7.875 kB / 0.586 GB, free: 2.605 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.1752, allocations: 0 / 0.586 GB, free: 2.605 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.1752, allocations: 8 kB / 0.586 GB, free: 2.598 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.298e-05/0.1752, allocations: 3.984 kB / 0.586 GB, free: 2.594 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001673/0.1754, allocations: 153.6 kB / 0.5862 GB, free: 2.395 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.266e-05/0.1755, allocations: 26.59 kB / 0.5862 GB, free: 2.359 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.864e-05/0.1755, allocations: 8.922 kB / 0.5862 GB, free: 2.348 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007352/0.1762, allocations: 457.5 kB / 0.5867 GB, free: 1.809 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.1763, allocations: 30.56 kB / 0.5867 GB, free: 1.77 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.372e-06/0.1763, allocations: 0 / 0.5867 GB, free: 1.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005953/0.1769, allocations: 266.4 kB / 0.5869 GB, free: 1.457 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.1769, allocations: 51.41 kB / 0.587 GB, free: 1.395 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.887e-05/0.177, allocations: 97.84 kB / 0.5871 GB, free: 1.289 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.177, allocations: 29.7 kB / 0.5871 GB, free: 1.254 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.308e-05/0.1771, allocations: 80.14 kB / 0.5872 GB, free: 1.172 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.552e-05/0.1771, allocations: 3.906 kB / 0.5872 GB, free: 1.168 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.91e-05/0.1771, allocations: 17.72 kB / 0.5872 GB, free: 1.145 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.1773, allocations: 319 kB / 0.5875 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.001e-05/0.1773, allocations: 4 kB / 0.5875 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.546e-05/0.1774, allocations: 21.72 kB / 0.5875 GB, free: 0.793 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.205e-05/0.1774, allocations: 29.7 kB / 0.5876 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.1775, allocations: 0 / 0.5876 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001423/0.1776, allocations: 49.64 kB / 0.5876 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.1776, allocations: 12 kB / 0.5876 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.1777, allocations: 3.938 kB / 0.5876 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.1777, allocations: 4 kB / 0.5876 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.533e-05/0.1778, allocations: 7.984 kB / 0.5876 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.361e-05/0.1778, allocations: 0 / 0.5876 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.505e-05/0.1778, allocations: 11.88 kB / 0.5876 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.1778, allocations: 0 / 0.5876 GB, free: 0.6641 MB / 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 0.0001133/0.1779, allocations: 113.8 kB / 0.5878 GB, free: 0.543 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.032e-05/0.178, allocations: 7.844 kB / 0.5878 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001857/0.1782, allocations: 57.17 kB / 0.5878 GB, free: 480 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.1782, allocations: 3.984 kB / 0.5878 GB, free: 476 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.1782, allocations: 0 / 0.5878 GB, free: 476 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.1782, allocations: 0 / 0.5878 GB, free: 476 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001563/0.1784, allocations: 153.7 kB / 0.588 GB, free: 272 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1784, allocations: 0 / 0.588 GB, free: 272 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.523e-05/0.1785, allocations: 8 kB / 0.588 GB, free: 264 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.1785, allocations: 4.125 kB / 0.588 GB, free: 260 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.1785, allocations: 4 kB / 0.588 GB, free: 256 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.1785, allocations: 3.938 kB / 0.588 GB, free: 252 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1785, allocations: 0 / 0.588 GB, free: 252 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001902/0.1787, allocations: 77.11 kB / 0.5881 GB, free: 156 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.782e-05/0.1788, allocations: 89.06 kB / 0.5881 GB, free: 48 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.1788, allocations: 0 / 0.5881 GB, free: 48 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.031e-05/0.1789, allocations: 0 / 0.5881 GB, free: 48 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.284e-05/0.1789, allocations: 4 kB / 0.5881 GB, free: 44 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.1789, allocations: 8.062 kB / 0.5882 GB, free: 36 kB / 494.1 MB Notification: Performance of sorting global known variables: time 6.711e-05/0.179, allocations: 75.28 kB / 0.5882 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.179, allocations: 0 / 0.5882 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002505/0.1792, allocations: 27.98 kB / 0.5883 GB, free: 15.93 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.0006116/0.1799, allocations: 0.636 MB / 0.5889 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001106/0.18, allocations: 23.98 kB / 0.5889 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.18, allocations: 0 / 0.5889 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.089e-05/0.18, allocations: 11.94 kB / 0.5889 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001576/0.1802, allocations: 7.5 kB / 0.5889 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.1813, allocations: 1.143 MB / 0.59 GB, free: 14 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.1816, allocations: 0.6768 MB / 0.5907 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.494e-05/0.1816, allocations: 12 kB / 0.5907 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.219e-05/0.1817, allocations: 15.38 kB / 0.5907 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1817, allocations: 0 / 0.5907 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01311/0.1948, allocations: 1.618 MB / 0.5923 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001891/0.195, allocations: 220.7 kB / 0.5925 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.702/1.897, allocations: 0 / 0.5925 GB, free: 11.58 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/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)