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.005775/0.005775, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001443/0.001444, allocations: 198.6 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.502/1.502, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.065/1.065, allocations: 135.6 MB / 426.1 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 59.91 kB / 0.5858 GB, free: 3.184 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3959/0.3979, allocations: 81.04 MB / 0.6649 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001358/0.3993, allocations: 0.5553 MB / 0.6655 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004959/0.3999, allocations: 336.2 kB / 0.6658 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.513e-05/0.3999, allocations: 0 / 0.6658 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.302e-05/0.3999, allocations: 1.156 kB / 0.6658 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.22e-06/0.3999, allocations: 4 kB / 0.6658 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000388/0.4003, allocations: 103.1 kB / 0.6659 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.389e-05/0.4004, allocations: 5.062 kB / 0.6659 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.411e-05/0.4004, allocations: 1.344 kB / 0.6659 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.204e-05/0.4004, allocations: 1.156 kB / 0.6659 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.812e-05/0.4004, allocations: 0 / 0.6659 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.167e-06/0.4004, allocations: 1.156 kB / 0.6659 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003346/0.4008, allocations: 274.1 kB / 0.6662 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.785e-06/0.4008, allocations: 7.938 kB / 0.6662 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.415e-05/0.4008, allocations: 4 kB / 0.6662 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000141/0.401, allocations: 81.08 kB / 0.6662 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.401, allocations: 3.938 kB / 0.6663 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.082e-06/0.401, allocations: 0 / 0.6663 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.401, allocations: 0 / 0.6663 GB, free: 6.023 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002022/0.4012, allocations: 336.1 kB / 0.6666 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.4012, allocations: 12.98 kB / 0.6666 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.125e-05/0.4013, allocations: 32.12 kB / 0.6666 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.64e-05/0.4013, allocations: 0.9375 kB / 0.6666 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.973e-05/0.4013, allocations: 164.4 kB / 0.6668 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.315e-06/0.4014, allocations: 1.438 kB / 0.6668 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.091e-06/0.4014, allocations: 1.625 kB / 0.6668 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.532e-05/0.4014, allocations: 27.8 kB / 0.6668 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.4014, allocations: 3.938 kB / 0.6668 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.63e-06/0.4015, allocations: 0 / 0.6668 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-06/0.4015, allocations: 1.375 kB / 0.6668 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.719e-05/0.4015, allocations: 9.391 kB / 0.6668 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.239e-05/0.4016, allocations: 155.1 kB / 0.667 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 2.735e-05/0.4016, allocations: 15.89 kB / 0.667 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.245e-05/0.4016, allocations: 10.05 kB / 0.667 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003524/0.402, allocations: 424.6 kB / 0.6674 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.555e-05/0.402, allocations: 35.62 kB / 0.6674 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.402, allocations: 0 / 0.6674 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001188/0.4021, allocations: 47.22 kB / 0.6675 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.101e-05/0.4022, allocations: 52.69 kB / 0.6675 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.218e-05/0.4022, allocations: 89.86 kB / 0.6676 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.99e-06/0.4022, allocations: 25.7 kB / 0.6676 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.935e-06/0.4022, allocations: 80.14 kB / 0.6677 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.989e-05/0.4022, allocations: 5.031 kB / 0.6677 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.106e-05/0.4023, allocations: 15.28 kB / 0.6677 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.343e-05/0.4023, allocations: 315.9 kB / 0.668 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.997e-06/0.4023, allocations: 1.25 kB / 0.668 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.743e-06/0.4023, allocations: 1.25 kB / 0.668 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.062e-05/0.4023, allocations: 15.08 kB / 0.668 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.4024, allocations: 1.344 kB / 0.668 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.326e-05/0.4024, allocations: 42.39 kB / 0.6681 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.4024, allocations: 5.531 kB / 0.6681 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.4024, allocations: 7.938 kB / 0.6681 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.4024, allocations: 1.375 kB / 0.6681 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.413e-05/0.4025, allocations: 1.25 kB / 0.6681 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.908e-06/0.4025, allocations: 0 / 0.6681 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.246e-06/0.4025, allocations: 1.312 kB / 0.6681 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-06/0.4025, allocations: 0 / 0.6681 GB, free: 3.879 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 3.637e-05/0.4026, allocations: 107.9 kB / 0.6682 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.837e-05/0.4026, allocations: 1.438 kB / 0.6682 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.882e-05/0.4027, allocations: 52.78 kB / 0.6683 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.4027, allocations: 1.719 kB / 0.6683 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.4027, allocations: 0 / 0.6683 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.4027, allocations: 0 / 0.6683 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.34e-05/0.4027, allocations: 147.1 kB / 0.6684 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4027, allocations: 0 / 0.6684 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.155e-05/0.4027, allocations: 2.625 kB / 0.6684 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.4028, allocations: 0 / 0.6684 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-06/0.4028, allocations: 3.938 kB / 0.6684 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.4028, allocations: 1.344 kB / 0.6684 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.4028, allocations: 4.031 kB / 0.6684 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.397e-05/0.4028, allocations: 55.95 kB / 0.6685 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.167e-05/0.4028, allocations: 81.09 kB / 0.6685 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.398e-06/0.4029, allocations: 5.344 kB / 0.6685 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.262e-06/0.4029, allocations: 0 / 0.6685 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.748e-06/0.4029, allocations: 5.156 kB / 0.6686 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/0.4029, allocations: 0 / 0.6686 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.538e-06/0.4029, allocations: 83.25 kB / 0.6686 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.4029, allocations: 1.25 kB / 0.6686 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001819/0.4031, allocations: 7.844 kB / 0.6686 GB, free: 3.254 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.0002488/0.4033, allocations: 0.6096 MB / 0.6692 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.271e-05/0.4034, allocations: 11.97 kB / 0.6692 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4034, allocations: 0 / 0.6692 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.684e-06/0.4034, allocations: 14.36 kB / 0.6693 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001177/0.4036, allocations: 5.438 kB / 0.6693 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002104/0.4038, allocations: 102.6 kB / 0.6694 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.338e-05/0.4039, allocations: 0.674 MB / 0.67 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.495e-05/0.4039, allocations: 1.125 kB / 0.67 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.18e-05/0.4039, allocations: 11.56 kB / 0.67 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.4039, allocations: 1.156 kB / 0.67 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02115/0.4251, allocations: 1.166 MB / 0.6712 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.833/8.258, allocations: 5.703 kB / 0.6712 GB, free: 1.102 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 & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)