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.0009317/0.0009315, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005676/0.005676, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.336/1.336, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8875/0.8875, allocations: 135.3 MB / 426.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003104/0.0003104, allocations: 8 kB / 0.5077 GB, free: 4.637 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1498, allocations: 82.31 MB / 0.5881 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0006443/0.1505, allocations: 307.1 kB / 0.5884 GB, free: 2.195 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006522/0.1512, allocations: 348.6 kB / 0.5887 GB, free: 1.855 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.597e-06/0.1512, allocations: 0 / 0.5887 GB, free: 1.855 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.708e-06/0.1512, allocations: 0 / 0.5887 GB, free: 1.855 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.298e-06/0.1512, allocations: 0 / 0.5887 GB, free: 1.855 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003172/0.1516, allocations: 75.34 kB / 0.5888 GB, free: 1.785 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 2.868e-05/0.1516, allocations: 0 / 0.5888 GB, free: 1.785 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.631e-05/0.1516, allocations: 4 kB / 0.5888 GB, free: 1.781 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.109e-05/0.1516, allocations: 0 / 0.5888 GB, free: 1.781 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.945e-05/0.1517, allocations: 4 kB / 0.5888 GB, free: 1.777 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.206e-06/0.1517, allocations: 3.938 kB / 0.5888 GB, free: 1.773 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003963/0.1521, allocations: 275.6 kB / 0.5891 GB, free: 1.504 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.635e-06/0.1521, allocations: 0 / 0.5891 GB, free: 1.504 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.317e-05/0.1521, allocations: 25.7 kB / 0.5891 GB, free: 1.473 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001993/0.1523, allocations: 83.84 kB / 0.5892 GB, free: 1.391 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1523, allocations: 4 kB / 0.5892 GB, free: 1.387 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1524, allocations: 0 / 0.5892 GB, free: 1.387 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.417e-06/0.1524, allocations: 0 / 0.5892 GB, free: 1.387 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.0002721/0.1526, allocations: 331.6 kB / 0.5895 GB, free: 1.012 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.1527, allocations: 15.97 kB / 0.5895 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.866e-05/0.1527, allocations: 30.75 kB / 0.5895 GB, free: 0.957 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.806e-05/0.1528, allocations: 0.9375 kB / 0.5895 GB, free: 0.957 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.1529, allocations: 164.3 kB / 0.5897 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.1529, allocations: 4.359 kB / 0.5897 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.384e-06/0.1529, allocations: 4.375 kB / 0.5897 GB, free: 0.75 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.291e-05/0.153, allocations: 26.27 kB / 0.5897 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.293e-05/0.1531, allocations: 3.938 kB / 0.5897 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.641e-06/0.1531, allocations: 0 / 0.5897 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.1531, allocations: 0 / 0.5897 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.974e-05/0.1531, allocations: 11.98 kB / 0.5897 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001195/0.1533, allocations: 145.7 kB / 0.5899 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.702e-05/0.1533, allocations: 22.55 kB / 0.5899 GB, free: 492 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.275e-05/0.1533, allocations: 8.797 kB / 0.5899 GB, free: 480 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004751/0.1538, allocations: 429.6 kB / 0.5903 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.1539, allocations: 30.56 kB / 0.5903 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.1539, allocations: 0 / 0.5903 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001241/0.154, allocations: 41.62 kB / 0.5904 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.154, allocations: 51.41 kB / 0.5904 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.71e-05/0.1541, allocations: 89.86 kB / 0.5905 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.1541, allocations: 29.7 kB / 0.5905 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.262e-05/0.1541, allocations: 84.27 kB / 0.5906 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.158e-05/0.1541, allocations: 3.906 kB / 0.5906 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.892e-05/0.1542, allocations: 13.66 kB / 0.5906 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.1543, allocations: 310.8 kB / 0.5909 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.114e-06/0.1543, allocations: 0 / 0.5909 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.242e-06/0.1543, allocations: 4 kB / 0.5909 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.254e-05/0.1543, allocations: 8.859 kB / 0.5909 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1543, allocations: 0 / 0.5909 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.341e-05/0.1544, allocations: 41.75 kB / 0.591 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.1544, allocations: 4 kB / 0.591 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.1544, allocations: 3.938 kB / 0.591 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.765e-06/0.1544, allocations: 0 / 0.591 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.618e-05/0.1545, allocations: 4 kB / 0.591 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.1545, allocations: 7.922 kB / 0.591 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.897e-06/0.1545, allocations: 0 / 0.591 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.1545, allocations: 0 / 0.591 GB, free: 15.17 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 (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 8.874e-05/0.1546, allocations: 109.8 kB / 0.5911 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.117e-05/0.1546, allocations: 8.031 kB / 0.5911 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.215e-05/0.1547, allocations: 44.75 kB / 0.5912 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.1547, allocations: 0 / 0.5912 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.1547, allocations: 0 / 0.5912 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.1547, allocations: 3.938 kB / 0.5912 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.822e-05/0.1548, allocations: 149.7 kB / 0.5913 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.1548, allocations: 0 / 0.5913 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.063e-05/0.1548, allocations: 0 / 0.5913 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.1549, allocations: 0 / 0.5913 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.1549, allocations: 11.91 kB / 0.5913 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.1549, allocations: 4 kB / 0.5913 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1549, allocations: 0 / 0.5913 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.345e-05/0.155, allocations: 61.06 kB / 0.5914 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.435e-05/0.155, allocations: 77.11 kB / 0.5915 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.141e-05/0.155, allocations: 7.938 kB / 0.5915 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.472e-06/0.155, allocations: 0 / 0.5915 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.899e-06/0.155, allocations: 4.031 kB / 0.5915 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-06/0.155, allocations: 0 / 0.5915 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.248e-05/0.1551, allocations: 75.28 kB / 0.5915 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1551, allocations: 0 / 0.5915 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001833/0.1553, allocations: 8 kB / 0.5915 GB, free: 14.52 MB / 0.4981 GB 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.0003729/0.1556, allocations: 0.6127 MB / 0.5921 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 4.565e-05/0.1557, allocations: 4 kB / 0.5921 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1557, allocations: 0 / 0.5921 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.1558, allocations: 7.984 kB / 0.5922 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001179/0.1559, allocations: 4 kB / 0.5922 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002342/0.1562, allocations: 100.4 kB / 0.5923 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003096/0.1565, allocations: 0.677 MB / 0.5929 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.703e-05/0.1565, allocations: 4.125 kB / 0.5929 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.169e-05/0.1565, allocations: 7.438 kB / 0.5929 GB, free: 13 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1565, allocations: 0 / 0.5929 GB, free: 13 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02015/0.1767, allocations: 0.992 MB / 0.5939 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002413/0.177, allocations: 202.8 kB / 0.5941 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.683/1.86, allocations: 8 kB / 0.5941 GB, free: 11.91 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)