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.005495/0.005495, allocations: 97.59 kB / 15.73 MB, free: 6.008 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.00117/0.00117, allocations: 196.1 kB / 16.67 MB, free: 5.926 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.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8246/0.8246, allocations: 135.1 MB / 425.7 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 71.73 kB / 0.5852 GB, free: 21.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2165, allocations: 80.92 MB / 0.6642 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.004081/0.2207, allocations: 0.5798 MB / 0.6648 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001049/0.2217, allocations: 317.8 kB / 0.6651 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.849e-05/0.2218, allocations: 0 / 0.6651 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.651e-05/0.2218, allocations: 7.875 kB / 0.6651 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.562e-06/0.2219, allocations: 4 kB / 0.6651 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006895/0.2226, allocations: 95.7 kB / 0.6652 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.153e-05/0.2227, allocations: 7.984 kB / 0.6652 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.761e-05/0.2227, allocations: 4 kB / 0.6652 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.886e-05/0.2228, allocations: 0 / 0.6652 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.039e-05/0.2228, allocations: 0 / 0.6652 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.2228, allocations: 4 kB / 0.6652 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007803/0.2236, allocations: 275.6 kB / 0.6654 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.81e-05/0.2237, allocations: 0 / 0.6654 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.912e-05/0.2237, allocations: 0 / 0.6654 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003305/0.224, allocations: 92 kB / 0.6655 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.2241, allocations: 0 / 0.6655 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.856e-06/0.2241, allocations: 0 / 0.6655 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.311e-05/0.2241, allocations: 0 / 0.6655 GB, free: 4.887 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.0005138/0.2246, allocations: 339.3 kB / 0.6659 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/0.2247, allocations: 13.11 kB / 0.6659 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.365e-05/0.2248, allocations: 30.75 kB / 0.6659 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.918e-05/0.2248, allocations: 0.9375 kB / 0.6659 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.225, allocations: 168.4 kB / 0.6661 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.225, allocations: 384 / 0.6661 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.225, allocations: 8.312 kB / 0.6661 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.2252, allocations: 26.27 kB / 0.6661 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.2252, allocations: 3.938 kB / 0.6661 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.2252, allocations: 4 kB / 0.6661 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.128e-06/0.2252, allocations: 0 / 0.6661 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.611e-05/0.2253, allocations: 4 kB / 0.6661 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002803/0.2256, allocations: 145.7 kB / 0.6662 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.674e-05/0.2256, allocations: 18.58 kB / 0.6663 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.065e-05/0.2257, allocations: 12.89 kB / 0.6663 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008519/0.2265, allocations: 425.5 kB / 0.6667 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.2266, allocations: 34.56 kB / 0.6667 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.683e-06/0.2266, allocations: 0 / 0.6667 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0002139/0.2268, allocations: 33.64 kB / 0.6667 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.872e-05/0.2269, allocations: 51.41 kB / 0.6668 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.406e-05/0.2269, allocations: 89.86 kB / 0.6669 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.227, allocations: 33.83 kB / 0.6669 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.2271, allocations: 84.12 kB / 0.667 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.232e-05/0.2272, allocations: 0 / 0.667 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.326e-05/0.2272, allocations: 13.72 kB / 0.667 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.2274, allocations: 310.8 kB / 0.6673 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.644e-05/0.2274, allocations: 7.938 kB / 0.6673 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.185e-06/0.2274, allocations: 0 / 0.6673 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.535e-05/0.2275, allocations: 12.92 kB / 0.6673 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2275, allocations: 0 / 0.6673 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000125/0.2276, allocations: 33.66 kB / 0.6674 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.2277, allocations: 11.98 kB / 0.6674 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.2277, allocations: 3.938 kB / 0.6674 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.2277, allocations: 0 / 0.6674 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.809e-05/0.2278, allocations: 3.938 kB / 0.6674 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.624e-05/0.2278, allocations: 7.922 kB / 0.6674 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.572e-05/0.2278, allocations: 0 / 0.6674 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.268e-05/0.2278, allocations: 4 kB / 0.6674 GB, free: 2.664 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 9.447e-05/0.228, allocations: 117.8 kB / 0.6675 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.385e-05/0.228, allocations: 3.984 kB / 0.6675 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001165/0.2281, allocations: 40.75 kB / 0.6675 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.2282, allocations: 0 / 0.6675 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.2282, allocations: 8 kB / 0.6676 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.2282, allocations: 0 / 0.6676 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001421/0.2283, allocations: 145.7 kB / 0.6677 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.2283, allocations: 0 / 0.6677 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.09e-05/0.2284, allocations: 8.031 kB / 0.6677 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.2284, allocations: 3.984 kB / 0.6677 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.2284, allocations: 3.938 kB / 0.6677 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.2284, allocations: 0 / 0.6677 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2284, allocations: 0 / 0.6677 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.2286, allocations: 57.08 kB / 0.6678 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.409e-05/0.2286, allocations: 77.11 kB / 0.6678 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.2286, allocations: 7.922 kB / 0.6678 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.1e-05/0.2287, allocations: 4.031 kB / 0.6678 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.655e-05/0.2287, allocations: 4 kB / 0.6678 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-06/0.2287, allocations: 0 / 0.6678 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.163e-05/0.2287, allocations: 75.28 kB / 0.6679 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.51e-07/0.2287, allocations: 4 kB / 0.6679 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002967/0.2291, allocations: 8 kB / 0.6679 GB, free: 2 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.0005586/0.2296, allocations: 0.6136 MB / 0.6685 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.422e-05/0.2297, allocations: 4 kB / 0.6685 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2297, allocations: 0 / 0.6685 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.726e-06/0.2298, allocations: 0 / 0.6685 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001858/0.23, allocations: 7.938 kB / 0.6685 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004097/0.2304, allocations: 114.7 kB / 0.6687 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004433/0.2308, allocations: 0.6729 MB / 0.6693 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.046e-05/0.2309, allocations: 0 / 0.6693 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.161e-05/0.2309, allocations: 15.38 kB / 0.6693 GB, free: 488 kB / 0.4981 GB Notification: Performance of SimCode: time 3.2e-07/0.2309, allocations: 0 / 0.6693 GB, free: 488 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02389/0.2548, allocations: 1.169 MB / 0.6705 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.382/7.637, allocations: 13.78 kB / 0.6705 GB, free: 15.38 MB / 0.5137 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)