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.001062/0.001062, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 198.8 kB / 16.54 MB, free: 6.672 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.374/1.374, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9645/0.9645, allocations: 135.1 MB / 425.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 68.11 kB / 0.5055 GB, free: 5.188 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1518, allocations: 80.92 MB / 0.5845 GB, free: 4.418 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.002088/0.1539, allocations: 0.5702 MB / 0.585 GB, free: 3.84 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006166/0.1545, allocations: 322.8 kB / 0.5854 GB, free: 3.523 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.573e-05/0.1546, allocations: 0 / 0.5854 GB, free: 3.523 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.015e-05/0.1546, allocations: 0 / 0.5854 GB, free: 3.523 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.259e-06/0.1546, allocations: 4 kB / 0.5854 GB, free: 3.52 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004799/0.1551, allocations: 99.64 kB / 0.5855 GB, free: 3.422 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.949e-05/0.1551, allocations: 8 kB / 0.5855 GB, free: 3.414 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.631e-05/0.1552, allocations: 3.984 kB / 0.5855 GB, free: 3.41 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.391e-05/0.1552, allocations: 4 kB / 0.5855 GB, free: 3.406 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.175e-05/0.1552, allocations: 3.984 kB / 0.5855 GB, free: 3.402 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.658e-06/0.1553, allocations: 3.938 kB / 0.5855 GB, free: 3.398 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003738/0.1556, allocations: 267.7 kB / 0.5857 GB, free: 3.137 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.548e-06/0.1556, allocations: 0 / 0.5857 GB, free: 3.137 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.086e-05/0.1557, allocations: 4 kB / 0.5857 GB, free: 3.133 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000161/0.1558, allocations: 79.86 kB / 0.5858 GB, free: 3.055 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1559, allocations: 0 / 0.5858 GB, free: 3.055 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1559, allocations: 0 / 0.5858 GB, free: 3.055 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.1559, allocations: 0 / 0.5858 GB, free: 3.055 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.000331/0.1562, allocations: 339.6 kB / 0.5861 GB, free: 2.672 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.1563, allocations: 12.03 kB / 0.5861 GB, free: 2.66 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.439e-05/0.1563, allocations: 30.75 kB / 0.5862 GB, free: 2.621 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.001e-05/0.1563, allocations: 0.9375 kB / 0.5862 GB, free: 2.621 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.1565, allocations: 164.4 kB / 0.5863 GB, free: 2.422 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.1565, allocations: 384 / 0.5863 GB, free: 2.422 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.1565, allocations: 4.375 kB / 0.5863 GB, free: 2.418 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.478e-05/0.1566, allocations: 26.27 kB / 0.5864 GB, free: 2.387 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.1566, allocations: 3.938 kB / 0.5864 GB, free: 2.383 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.253e-06/0.1566, allocations: 7.938 kB / 0.5864 GB, free: 2.375 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.289e-06/0.1566, allocations: 0 / 0.5864 GB, free: 2.375 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.416e-05/0.1567, allocations: 4 kB / 0.5864 GB, free: 2.371 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001462/0.1568, allocations: 145.7 kB / 0.5865 GB, free: 2.18 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.922e-05/0.1569, allocations: 18.56 kB / 0.5865 GB, free: 2.152 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.996e-05/0.1569, allocations: 12.89 kB / 0.5865 GB, free: 2.137 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005118/0.1574, allocations: 429.5 kB / 0.587 GB, free: 1.625 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.1574, allocations: 30.56 kB / 0.587 GB, free: 1.586 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.1574, allocations: 0 / 0.587 GB, free: 1.586 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001573/0.1576, allocations: 41.58 kB / 0.587 GB, free: 1.539 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/0.1576, allocations: 51.41 kB / 0.5871 GB, free: 1.477 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.198e-05/0.1577, allocations: 89.86 kB / 0.5872 GB, free: 1.379 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.1577, allocations: 37.77 kB / 0.5872 GB, free: 1.336 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.852e-05/0.1577, allocations: 80.14 kB / 0.5873 GB, free: 1.254 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.02e-05/0.1578, allocations: 7.891 kB / 0.5873 GB, free: 1.246 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.792e-05/0.1578, allocations: 13.7 kB / 0.5873 GB, free: 1.227 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.597e-05/0.1579, allocations: 310.8 kB / 0.5876 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.081e-05/0.1579, allocations: 4 kB / 0.5876 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.881e-06/0.1579, allocations: 0 / 0.5876 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.075e-05/0.158, allocations: 20.86 kB / 0.5876 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.158, allocations: 0 / 0.5876 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.323e-05/0.158, allocations: 29.7 kB / 0.5876 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.1581, allocations: 4 kB / 0.5876 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1581, allocations: 7.938 kB / 0.5877 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.1581, allocations: 0 / 0.5877 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.801e-05/0.1581, allocations: 3.984 kB / 0.5877 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.1581, allocations: 0 / 0.5877 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.195e-05/0.1582, allocations: 4 kB / 0.5877 GB, free: 0.832 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.1582, allocations: 4 kB / 0.5877 GB, free: 0.8281 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 5.98e-05/0.1582, allocations: 109.9 kB / 0.5878 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.39e-05/0.1583, allocations: 0 / 0.5878 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.315e-05/0.1584, allocations: 48.97 kB / 0.5878 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1584, allocations: 3.984 kB / 0.5878 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.1584, allocations: 4 kB / 0.5878 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.1584, allocations: 0 / 0.5878 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.958e-05/0.1585, allocations: 141.7 kB / 0.588 GB, free: 472 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1585, allocations: 0 / 0.588 GB, free: 472 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.211e-05/0.1585, allocations: 4.031 kB / 0.588 GB, free: 468 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.1585, allocations: 4 kB / 0.588 GB, free: 464 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.1585, allocations: 7.875 kB / 0.588 GB, free: 456 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1585, allocations: 0 / 0.588 GB, free: 456 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.1585, allocations: 3.984 kB / 0.588 GB, free: 452 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.805e-05/0.1586, allocations: 57.14 kB / 0.588 GB, free: 376 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.551e-05/0.1587, allocations: 84.98 kB / 0.5881 GB, free: 272 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.101e-05/0.1587, allocations: 3.938 kB / 0.5881 GB, free: 268 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.692e-06/0.1587, allocations: 4.031 kB / 0.5881 GB, free: 264 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.47e-05/0.1587, allocations: 3.984 kB / 0.5881 GB, free: 260 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.1587, allocations: 0 / 0.5881 GB, free: 260 kB / 494.1 MB Notification: Performance of sorting global known variables: time 2.45e-05/0.1587, allocations: 75.28 kB / 0.5882 GB, free: 184 kB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1587, allocations: 0 / 0.5882 GB, free: 184 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002045/0.1589, allocations: 12 kB / 0.5882 GB, free: 172 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.0004064/0.1594, allocations: 0.6102 MB / 0.5888 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.003e-05/0.1594, allocations: 15.88 kB / 0.5888 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1595, allocations: 0 / 0.5888 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.432e-06/0.1595, allocations: 0 / 0.5888 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000128/0.1596, allocations: 10.06 kB / 0.5888 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002936/0.1599, allocations: 114.7 kB / 0.5889 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002168/0.1601, allocations: 0.6729 MB / 0.5896 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.559e-05/0.1601, allocations: 0 / 0.5896 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.447e-05/0.1602, allocations: 7.438 kB / 0.5896 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1602, allocations: 0 / 0.5896 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01718/0.1774, allocations: 1.154 MB / 0.5907 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.585/7.762, allocations: 4.688 kB / 0.5907 GB, free: 13.58 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)