Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.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.RegNonZeroPower,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPower",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.00108/0.00108, 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.001064/0.001065, allocations: 190.9 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.333/1.333, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9336/0.9336, allocations: 135.1 MB / 425.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 68.16 kB / 0.505 GB, free: 5.512 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1648, allocations: 80.92 MB / 0.584 GB, free: 4.758 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.002155/0.167, allocations: 0.6287 MB / 0.5846 GB, free: 4.125 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007241/0.1677, allocations: 332.5 kB / 0.5849 GB, free: 3.801 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.471e-05/0.1678, allocations: 4 kB / 0.5849 GB, free: 3.797 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.943e-05/0.1678, allocations: 0 / 0.5849 GB, free: 3.797 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.152e-06/0.1678, allocations: 4 kB / 0.5849 GB, free: 3.793 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005178/0.1684, allocations: 83.84 kB / 0.585 GB, free: 3.711 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.402e-05/0.1684, allocations: 4 kB / 0.585 GB, free: 3.707 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.163e-05/0.1685, allocations: 0 / 0.585 GB, free: 3.707 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.558e-05/0.1685, allocations: 0 / 0.585 GB, free: 3.707 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.243e-05/0.1685, allocations: 0 / 0.585 GB, free: 3.707 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.979e-06/0.1685, allocations: 7.938 kB / 0.585 GB, free: 3.699 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003941/0.1689, allocations: 279.6 kB / 0.5853 GB, free: 3.426 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.072e-05/0.169, allocations: 0 / 0.5853 GB, free: 3.426 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.265e-05/0.169, allocations: 0 / 0.5853 GB, free: 3.426 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001766/0.1692, allocations: 91.78 kB / 0.5854 GB, free: 3.336 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1692, allocations: 0 / 0.5854 GB, free: 3.336 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1692, allocations: 0 / 0.5854 GB, free: 3.336 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.1692, allocations: 0 / 0.5854 GB, free: 3.336 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003391/0.1695, allocations: 331.6 kB / 0.5857 GB, free: 2.961 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.1696, allocations: 12.03 kB / 0.5857 GB, free: 2.949 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.861e-05/0.1696, allocations: 34.75 kB / 0.5858 GB, free: 2.906 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.538e-05/0.1697, allocations: 0.9375 kB / 0.5858 GB, free: 2.906 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.726e-05/0.1698, allocations: 160.4 kB / 0.5859 GB, free: 2.711 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.1698, allocations: 384 / 0.5859 GB, free: 2.711 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-06/0.1698, allocations: 4.375 kB / 0.5859 GB, free: 2.707 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.271e-05/0.1699, allocations: 30.27 kB / 0.5859 GB, free: 2.672 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.1699, allocations: 3.938 kB / 0.5859 GB, free: 2.668 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.17, allocations: 7.984 kB / 0.5859 GB, free: 2.66 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.17, allocations: 0 / 0.5859 GB, free: 2.66 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.506e-05/0.17, allocations: 15.92 kB / 0.586 GB, free: 2.645 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001401/0.1701, allocations: 141.7 kB / 0.5861 GB, free: 2.457 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.226e-05/0.1702, allocations: 14.58 kB / 0.5861 GB, free: 2.434 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.067e-05/0.1702, allocations: 16.89 kB / 0.5861 GB, free: 2.414 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005448/0.1708, allocations: 425.5 kB / 0.5865 GB, free: 1.906 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.1708, allocations: 30.56 kB / 0.5866 GB, free: 1.867 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.233e-06/0.1708, allocations: 0 / 0.5866 GB, free: 1.867 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001665/0.171, allocations: 45.56 kB / 0.5866 GB, free: 1.816 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.171, allocations: 51.41 kB / 0.5867 GB, free: 1.754 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.258e-05/0.1711, allocations: 93.8 kB / 0.5867 GB, free: 1.652 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.1711, allocations: 29.7 kB / 0.5868 GB, free: 1.617 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.318e-05/0.1711, allocations: 80.27 kB / 0.5869 GB, free: 1.535 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.412e-05/0.1712, allocations: 7.906 kB / 0.5869 GB, free: 1.527 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.899e-05/0.1712, allocations: 9.719 kB / 0.5869 GB, free: 1.512 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.971e-05/0.1713, allocations: 314.8 kB / 0.5872 GB, free: 1.195 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.021e-05/0.1713, allocations: 4 kB / 0.5872 GB, free: 1.191 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.782e-06/0.1713, allocations: 0 / 0.5872 GB, free: 1.191 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.024e-05/0.1714, allocations: 8.859 kB / 0.5872 GB, free: 1.18 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1714, allocations: 0 / 0.5872 GB, free: 1.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.63e-05/0.1715, allocations: 41.69 kB / 0.5872 GB, free: 1.133 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.1715, allocations: 4 kB / 0.5872 GB, free: 1.129 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.1715, allocations: 7.938 kB / 0.5872 GB, free: 1.121 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.1715, allocations: 0 / 0.5872 GB, free: 1.121 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.267e-05/0.1716, allocations: 0 / 0.5872 GB, free: 1.121 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.1716, allocations: 0 / 0.5872 GB, free: 1.121 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.012e-05/0.1716, allocations: 0 / 0.5872 GB, free: 1.121 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.1716, allocations: 4 kB / 0.5872 GB, free: 1.117 MB / 494.1 MB 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 (1): * Single equations (assignments): 1 * 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.462e-05/0.1717, allocations: 109.8 kB / 0.5873 GB, free: 1 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.356e-05/0.1717, allocations: 4.031 kB / 0.5873 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.184e-05/0.1718, allocations: 44.97 kB / 0.5874 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1718, allocations: 0 / 0.5874 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.1718, allocations: 4 kB / 0.5874 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.1718, allocations: 0 / 0.5874 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001063/0.1719, allocations: 145.7 kB / 0.5875 GB, free: 0.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1719, allocations: 0 / 0.5875 GB, free: 0.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.428e-05/0.172, allocations: 0 / 0.5875 GB, free: 0.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.172, allocations: 4 kB / 0.5875 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.172, allocations: 11.91 kB / 0.5875 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.172, allocations: 0 / 0.5875 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.172, allocations: 0 / 0.5875 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.113e-05/0.1721, allocations: 61.12 kB / 0.5876 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.53e-05/0.1721, allocations: 81.05 kB / 0.5877 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.1721, allocations: 7.938 kB / 0.5877 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.143e-06/0.1722, allocations: 0 / 0.5877 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.024e-05/0.1722, allocations: 0 / 0.5877 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.1722, allocations: 4.031 kB / 0.5877 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.964e-05/0.1722, allocations: 75.28 kB / 0.5878 GB, free: 484 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1722, allocations: 3.938 kB / 0.5878 GB, free: 480 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002059/0.1724, allocations: 16 kB / 0.5878 GB, free: 464 kB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 1 * 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.0004302/0.1729, allocations: 0.6124 MB / 0.5884 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.807e-05/0.173, allocations: 7.984 kB / 0.5884 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.173, allocations: 0 / 0.5884 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.075e-06/0.173, allocations: 3.938 kB / 0.5884 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001315/0.1731, allocations: 4 kB / 0.5884 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002923/0.1734, allocations: 110.6 kB / 0.5885 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000224/0.1737, allocations: 0.6729 MB / 0.5892 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.997e-05/0.1737, allocations: 4.125 kB / 0.5892 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.882e-05/0.1737, allocations: 11.44 kB / 0.5892 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of SimCode: time 3.61e-07/0.1737, allocations: 0 / 0.5892 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01141/0.1851, allocations: 1.075 MB / 0.5902 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002066/0.1854, allocations: 196.1 kB / 0.5904 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.717/1.903, allocations: 8 kB / 0.5904 GB, free: 13.73 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)