Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="IDEAS_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.001682/0.001682, allocations: 108 kB / 15.61 MB, free: 152 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.002031/0.002031, allocations: 195.7 kB / 16.53 MB, free: 6.664 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.436/1.436, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7709/0.7709, allocations: 132.2 MB / 422.6 MB, free: 1.812 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 68.48 kB / 0.5019 GB, free: 3.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3685/0.3698, allocations: 80.2 MB / 0.5802 GB, free: 4.602 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001629/0.3715, allocations: 0.5781 MB / 0.5808 GB, free: 4.238 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005305/0.372, allocations: 317.3 kB / 0.5811 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.513e-05/0.372, allocations: 4.75 kB / 0.5811 GB, free: 4.027 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.708e-06/0.3721, allocations: 0 / 0.5811 GB, free: 4.027 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.897e-06/0.3721, allocations: 0 / 0.5811 GB, free: 4.027 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004161/0.3725, allocations: 113.8 kB / 0.5812 GB, free: 3.984 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.378e-05/0.3725, allocations: 1.375 kB / 0.5812 GB, free: 3.984 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.248e-05/0.3726, allocations: 2.078 kB / 0.5812 GB, free: 3.984 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.246e-05/0.3726, allocations: 0 / 0.5812 GB, free: 3.984 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.919e-05/0.3726, allocations: 5.359 kB / 0.5812 GB, free: 3.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.238e-06/0.3726, allocations: 0 / 0.5812 GB, free: 3.98 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000404/0.373, allocations: 279.5 kB / 0.5815 GB, free: 3.906 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.737e-06/0.373, allocations: 1.375 kB / 0.5815 GB, free: 3.906 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.682e-05/0.3731, allocations: 0 / 0.5815 GB, free: 3.906 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.3732, allocations: 82.75 kB / 0.5815 GB, free: 3.883 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3732, allocations: 4.812 kB / 0.5815 GB, free: 3.879 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3733, allocations: 0 / 0.5815 GB, free: 3.879 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.3733, allocations: 0 / 0.5815 GB, free: 3.879 MB / 430.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.0002165/0.3735, allocations: 332.1 kB / 0.5819 GB, free: 3.516 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.3735, allocations: 9.312 kB / 0.5819 GB, free: 3.516 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.042e-05/0.3736, allocations: 32.09 kB / 0.5819 GB, free: 3.477 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.967e-05/0.3736, allocations: 5.812 kB / 0.5819 GB, free: 3.473 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.193e-05/0.3737, allocations: 161.7 kB / 0.5821 GB, free: 3.277 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.3737, allocations: 1.625 kB / 0.5821 GB, free: 3.277 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.055e-06/0.3737, allocations: 384 / 0.5821 GB, free: 3.277 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.279e-05/0.3738, allocations: 34.22 kB / 0.5821 GB, free: 3.242 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.3738, allocations: 7.875 kB / 0.5821 GB, free: 3.234 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.573e-06/0.3738, allocations: 0 / 0.5821 GB, free: 3.234 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.3738, allocations: 0.8438 kB / 0.5821 GB, free: 3.234 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.773e-05/0.3738, allocations: 1.562 kB / 0.5821 GB, free: 3.234 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.957e-05/0.3739, allocations: 144.8 kB / 0.5822 GB, free: 3.047 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.877e-05/0.3739, allocations: 21.44 kB / 0.5823 GB, free: 3.02 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.325e-05/0.374, allocations: 9.984 kB / 0.5823 GB, free: 3.008 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003717/0.3743, allocations: 429.2 kB / 0.5827 GB, free: 2.531 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.214e-05/0.3744, allocations: 32.42 kB / 0.5827 GB, free: 2.492 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.3744, allocations: 0 / 0.5827 GB, free: 2.492 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001201/0.3745, allocations: 40.2 kB / 0.5828 GB, free: 2.453 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.659e-05/0.3745, allocations: 56.41 kB / 0.5828 GB, free: 2.387 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.349e-05/0.3745, allocations: 90.52 kB / 0.5829 GB, free: 2.289 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.96e-06/0.3745, allocations: 25.7 kB / 0.5829 GB, free: 2.258 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.077e-06/0.3746, allocations: 80.95 kB / 0.583 GB, free: 2.176 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.209e-05/0.3746, allocations: 3.906 kB / 0.583 GB, free: 2.172 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.264e-05/0.3746, allocations: 16.75 kB / 0.583 GB, free: 2.152 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.388e-05/0.3746, allocations: 312.3 kB / 0.5833 GB, free: 1.84 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.085e-06/0.3747, allocations: 4.844 kB / 0.5833 GB, free: 1.836 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.873e-06/0.3747, allocations: 6.703 kB / 0.5833 GB, free: 1.832 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.034e-05/0.3747, allocations: 11.58 kB / 0.5833 GB, free: 1.82 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.3747, allocations: 4 kB / 0.5833 GB, free: 1.816 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.603e-05/0.3748, allocations: 32.7 kB / 0.5834 GB, free: 1.785 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.3748, allocations: 6.062 kB / 0.5834 GB, free: 1.785 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3748, allocations: 4.594 kB / 0.5834 GB, free: 1.781 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.3748, allocations: 0 / 0.5834 GB, free: 1.781 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.426e-05/0.3748, allocations: 3.016 kB / 0.5834 GB, free: 1.781 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.3749, allocations: 4.094 kB / 0.5834 GB, free: 1.777 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.298e-06/0.3749, allocations: 4 kB / 0.5834 GB, free: 1.773 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.3749, allocations: 1.484 kB / 0.5834 GB, free: 1.773 MB / 430.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 3.673e-05/0.3749, allocations: 108.3 kB / 0.5835 GB, free: 1.66 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.984e-05/0.3749, allocations: 1.094 kB / 0.5835 GB, free: 1.66 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.892e-05/0.375, allocations: 45.66 kB / 0.5835 GB, free: 1.617 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.375, allocations: 0.75 kB / 0.5835 GB, free: 1.617 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.375, allocations: 4.875 kB / 0.5835 GB, free: 1.613 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.013e-06/0.375, allocations: 0 / 0.5835 GB, free: 1.613 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.483e-05/0.3751, allocations: 152.9 kB / 0.5837 GB, free: 1.418 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.3751, allocations: 0.6562 kB / 0.5837 GB, free: 1.418 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.208e-05/0.3751, allocations: 2.094 kB / 0.5837 GB, free: 1.418 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.3751, allocations: 0.875 kB / 0.5837 GB, free: 1.418 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.3751, allocations: 4.75 kB / 0.5837 GB, free: 1.414 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3751, allocations: 4.641 kB / 0.5837 GB, free: 1.41 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.3751, allocations: 0.6875 kB / 0.5837 GB, free: 1.41 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.151e-05/0.3752, allocations: 61.7 kB / 0.5838 GB, free: 1.34 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.385e-05/0.3752, allocations: 77.81 kB / 0.5838 GB, free: 1.246 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.15e-05/0.3752, allocations: 9.234 kB / 0.5838 GB, free: 1.238 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.853e-06/0.3753, allocations: 1.062 kB / 0.5838 GB, free: 1.238 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.518e-05/0.3753, allocations: 1.219 kB / 0.5838 GB, free: 1.238 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-06/0.3753, allocations: 0.6875 kB / 0.5839 GB, free: 1.238 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.28e-05/0.3753, allocations: 77.7 kB / 0.5839 GB, free: 1.164 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3753, allocations: 0 / 0.5839 GB, free: 1.164 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001981/0.3755, allocations: 9.844 kB / 0.5839 GB, free: 1.164 MB / 430.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.0002692/0.3758, allocations: 0.6095 MB / 0.5845 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 6.98e-05/0.3759, allocations: 8.688 kB / 0.5845 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3759, allocations: 0 / 0.5845 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.765e-06/0.3759, allocations: 6.219 kB / 0.5845 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001274/0.376, allocations: 2.047 kB / 0.5845 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002283/0.3762, allocations: 116 kB / 0.5847 GB, free: 424 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001735/0.3764, allocations: 0.6752 MB / 0.5853 GB, free: 15.71 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.65e-05/0.3765, allocations: 1.766 kB / 0.5853 GB, free: 15.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.294e-05/0.3765, allocations: 8.875 kB / 0.5853 GB, free: 15.71 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3765, allocations: 0 / 0.5853 GB, free: 15.71 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01729/0.3938, allocations: 1.14 MB / 0.5864 GB, free: 15.38 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.001/7.395, allocations: 4.531 kB / 0.5864 GB, free: 15.38 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)