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.005336/0.005336, allocations: 102.5 kB / 15.73 MB, free: 6.066 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.001293/0.001293, allocations: 197.1 kB / 16.68 MB, free: 5.973 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.454/1.454, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8848/0.8848, allocations: 135.6 MB / 426.1 MB, free: 3.707 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001953, allocations: 73.83 kB / 0.5858 GB, free: 21.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1594, allocations: 81.02 MB / 0.6649 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001899/0.1614, allocations: 0.6032 MB / 0.6655 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007363/0.1621, allocations: 353.6 kB / 0.6658 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.928e-05/0.1622, allocations: 8 kB / 0.6658 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.597e-05/0.1622, allocations: 3.938 kB / 0.6658 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.542e-05/0.1623, allocations: 0 / 0.6658 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005032/0.1628, allocations: 115.6 kB / 0.666 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.013e-05/0.1628, allocations: 23.97 kB / 0.666 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.263e-05/0.1629, allocations: 0 / 0.666 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.294e-05/0.1629, allocations: 11.94 kB / 0.666 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.967e-05/0.163, allocations: 15.92 kB / 0.666 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.163, allocations: 4 kB / 0.666 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004432/0.1635, allocations: 275.6 kB / 0.6663 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.738e-05/0.1635, allocations: 3.984 kB / 0.6663 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.984e-05/0.1636, allocations: 11.94 kB / 0.6663 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002431/0.1638, allocations: 103.9 kB / 0.6664 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.146e-06/0.1638, allocations: 3.984 kB / 0.6664 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.184e-06/0.1638, allocations: 0 / 0.6664 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.1638, allocations: 0 / 0.6664 GB, free: 4.055 MB / 0.4981 GB 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.000569/0.1644, allocations: 359.2 kB / 0.6667 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.1645, allocations: 13.11 kB / 0.6667 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.782e-05/0.1645, allocations: 46.67 kB / 0.6668 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.841e-05/0.1646, allocations: 0.9375 kB / 0.6668 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.1648, allocations: 168.3 kB / 0.667 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.1648, allocations: 384 / 0.667 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.797e-05/0.1648, allocations: 12.27 kB / 0.667 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.165, allocations: 62.16 kB / 0.667 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.165, allocations: 3.938 kB / 0.667 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.165, allocations: 0 / 0.667 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.165, allocations: 0 / 0.667 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.24e-05/0.1651, allocations: 27.92 kB / 0.6671 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002105/0.1653, allocations: 161.7 kB / 0.6672 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.1654, allocations: 54.56 kB / 0.6673 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.768e-05/0.1655, allocations: 28.84 kB / 0.6673 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007359/0.1662, allocations: 457.5 kB / 0.6677 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.1663, allocations: 30.56 kB / 0.6678 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.743e-06/0.1663, allocations: 0 / 0.6678 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.00147/0.1678, allocations: 0.5991 MB / 0.6683 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/0.1678, allocations: 59.34 kB / 0.6684 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.907e-05/0.1679, allocations: 97.84 kB / 0.6685 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.1679, allocations: 29.7 kB / 0.6685 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.111e-05/0.168, allocations: 80.14 kB / 0.6686 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.926e-05/0.168, allocations: 39.67 kB / 0.6686 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.207e-05/0.1681, allocations: 29.72 kB / 0.6687 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.1683, allocations: 322.8 kB / 0.669 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.348e-05/0.1683, allocations: 19.98 kB / 0.669 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.298e-05/0.1684, allocations: 23.12 kB / 0.669 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.801e-05/0.1685, allocations: 56.84 kB / 0.6691 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.1685, allocations: 0 / 0.6691 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000165/0.1686, allocations: 101.6 kB / 0.6692 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.1687, allocations: 4 kB / 0.6692 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.1687, allocations: 3.938 kB / 0.6692 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.1687, allocations: 4 kB / 0.6692 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.1688, allocations: 23.98 kB / 0.6692 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.1688, allocations: 0 / 0.6692 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.387e-05/0.1688, allocations: 4 kB / 0.6692 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/0.1689, allocations: 4 kB / 0.6692 GB, free: 0.7656 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 8.23e-05/0.1689, allocations: 109.9 kB / 0.6693 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.969e-05/0.169, allocations: 11.88 kB / 0.6693 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002087/0.1692, allocations: 117.6 kB / 0.6694 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.1692, allocations: 3.984 kB / 0.6694 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1692, allocations: 4 kB / 0.6694 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1692, allocations: 0 / 0.6694 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004145/0.1696, allocations: 354.4 kB / 0.6698 GB, free: 108 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.1697, allocations: 4 kB / 0.6698 GB, free: 104 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.1698, allocations: 19.98 kB / 0.6698 GB, free: 84 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.1698, allocations: 4 kB / 0.6698 GB, free: 80 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.1698, allocations: 4 kB / 0.6698 GB, free: 76 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1698, allocations: 0 / 0.6698 GB, free: 76 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1698, allocations: 0 / 0.6698 GB, free: 76 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002996/0.1701, allocations: 227.7 kB / 0.67 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.16e-05/0.1702, allocations: 85.12 kB / 0.6701 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.1702, allocations: 0 / 0.6701 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.222e-05/0.1703, allocations: 7.938 kB / 0.6701 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.078e-05/0.1703, allocations: 4 kB / 0.6701 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/0.1703, allocations: 7.984 kB / 0.6701 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.344e-05/0.1704, allocations: 87.22 kB / 0.6702 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1704, allocations: 0 / 0.6702 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000279/0.1707, allocations: 43.94 kB / 0.6703 GB, free: 15.58 MB / 0.5137 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.0007144/0.1714, allocations: 0.7826 MB / 0.671 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001592/0.1716, allocations: 75.47 kB / 0.6711 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1716, allocations: 0 / 0.6711 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.412e-05/0.1717, allocations: 32 kB / 0.6711 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002271/0.1719, allocations: 11.98 kB / 0.6711 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001426/0.1733, allocations: 1.396 MB / 0.6725 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003406/0.1737, allocations: 0.6846 MB / 0.6732 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.325e-05/0.1737, allocations: 12.47 kB / 0.6732 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.553e-05/0.1738, allocations: 19.44 kB / 0.6732 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.1738, allocations: 4 kB / 0.6732 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02313/0.1969, allocations: 2.48 MB / 0.6756 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.582/7.779, allocations: 0.9375 kB / 0.6756 GB, free: 10.1 MB / 0.5137 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)