Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.RegNonZeroPowerDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",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.001302/0.001302, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001487/0.001488, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.198/2.198, allocations: 223.2 MB / 239.9 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.479/1.479, allocations: 135.2 MB / 426.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005575/0.000558, allocations: 17.02 kB / 0.5069 GB, free: 5.16 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2485, allocations: 82.32 MB / 0.5873 GB, free: 3.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001058/0.2496, allocations: 311.1 kB / 0.5876 GB, free: 2.711 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009803/0.2506, allocations: 319.1 kB / 0.5879 GB, free: 2.402 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.097e-05/0.2506, allocations: 0 / 0.5879 GB, free: 2.402 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.229e-05/0.2507, allocations: 4 kB / 0.5879 GB, free: 2.398 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.923e-05/0.2507, allocations: 4 kB / 0.5879 GB, free: 2.395 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005079/0.2512, allocations: 67.78 kB / 0.588 GB, free: 2.328 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.589e-05/0.2513, allocations: 7.984 kB / 0.588 GB, free: 2.32 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.389e-05/0.2513, allocations: 0 / 0.588 GB, free: 2.32 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.132e-05/0.2514, allocations: 0 / 0.588 GB, free: 2.32 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.644e-05/0.2515, allocations: 11.94 kB / 0.588 GB, free: 2.309 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.2515, allocations: 4 kB / 0.588 GB, free: 2.305 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005933/0.2521, allocations: 259.6 kB / 0.5882 GB, free: 2.051 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.225e-05/0.2521, allocations: 0 / 0.5882 GB, free: 2.051 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.19e-05/0.2522, allocations: 33.69 kB / 0.5883 GB, free: 2.012 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001824/0.2524, allocations: 55.91 kB / 0.5883 GB, free: 1.957 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.2524, allocations: 0 / 0.5883 GB, free: 1.957 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.2524, allocations: 0 / 0.5883 GB, free: 1.957 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.2524, allocations: 0 / 0.5883 GB, free: 1.957 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004702/0.2529, allocations: 331.4 kB / 0.5886 GB, free: 1.586 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.658e-05/0.253, allocations: 11.97 kB / 0.5887 GB, free: 1.574 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001322/0.2531, allocations: 34.56 kB / 0.5887 GB, free: 1.531 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.547e-05/0.2532, allocations: 7.906 kB / 0.5887 GB, free: 1.523 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.2534, allocations: 171 kB / 0.5889 GB, free: 1.316 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.2534, allocations: 4 kB / 0.5889 GB, free: 1.312 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.135e-05/0.2535, allocations: 7.938 kB / 0.5889 GB, free: 1.305 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.2536, allocations: 29.7 kB / 0.5889 GB, free: 1.27 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.2536, allocations: 0 / 0.5889 GB, free: 1.27 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.2537, allocations: 0 / 0.5889 GB, free: 1.27 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.2537, allocations: 0 / 0.5889 GB, free: 1.27 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.165e-05/0.2537, allocations: 7.984 kB / 0.5889 GB, free: 1.262 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003369/0.2541, allocations: 157.9 kB / 0.5891 GB, free: 1.059 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.333e-05/0.2542, allocations: 26.59 kB / 0.5891 GB, free: 1.023 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001286/0.2555, allocations: 465.5 kB / 0.5895 GB, free: 488 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.742e-05/0.2556, allocations: 30.56 kB / 0.5896 GB, free: 448 kB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 2.134e-06/0.2556, allocations: 0 / 0.5896 GB, free: 448 kB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0008326/0.2564, allocations: 254.2 kB / 0.5898 GB, free: 140 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.419e-05/0.2565, allocations: 59.62 kB / 0.5899 GB, free: 68 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.2566, allocations: 93.84 kB / 0.59 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.2567, allocations: 25.7 kB / 0.59 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.561e-05/0.2567, allocations: 84.14 kB / 0.5901 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.7e-05/0.2568, allocations: 7.906 kB / 0.5901 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.91e-06/0.2568, allocations: 0 / 0.5901 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.257, allocations: 310.8 kB / 0.5904 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.652e-05/0.257, allocations: 11.98 kB / 0.5904 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.325e-05/0.2571, allocations: 17.84 kB / 0.5904 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.458e-05/0.2571, allocations: 15.95 kB / 0.5904 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2572, allocations: 0 / 0.5904 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001835/0.2574, allocations: 53.62 kB / 0.5905 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.2574, allocations: 4 kB / 0.5905 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.2574, allocations: 0 / 0.5905 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.2574, allocations: 0 / 0.5905 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.2576, allocations: 8 kB / 0.5905 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.2576, allocations: 4.062 kB / 0.5905 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.594e-05/0.2576, allocations: 3.938 kB / 0.5905 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.788e-05/0.2577, allocations: 4 kB / 0.5905 GB, free: 15.39 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000126/0.2578, allocations: 113.7 kB / 0.5906 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.227e-05/0.2579, allocations: 7.984 kB / 0.5906 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00022/0.2581, allocations: 53.23 kB / 0.5906 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.831e-05/0.2582, allocations: 12.03 kB / 0.5907 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.2582, allocations: 0 / 0.5907 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.299e-06/0.2582, allocations: 0 / 0.5907 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001941/0.2584, allocations: 157.7 kB / 0.5908 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.2584, allocations: 3.953 kB / 0.5908 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.952e-05/0.2585, allocations: 4 kB / 0.5908 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.2586, allocations: 3.938 kB / 0.5908 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.2586, allocations: 3.984 kB / 0.5908 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.523e-06/0.2586, allocations: 4 kB / 0.5908 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.2586, allocations: 0 / 0.5908 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002812/0.2589, allocations: 81.06 kB / 0.5909 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.499e-05/0.259, allocations: 81.06 kB / 0.591 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.276e-05/0.259, allocations: 0 / 0.591 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.121e-05/0.2591, allocations: 4.031 kB / 0.591 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.879e-05/0.2592, allocations: 3.984 kB / 0.591 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-06/0.2592, allocations: 0 / 0.591 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.287e-05/0.2592, allocations: 79.28 kB / 0.5911 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2593, allocations: 0 / 0.5911 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004223/0.2597, allocations: 28.16 kB / 0.5911 GB, free: 14.66 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000839/0.2606, allocations: 0.6358 MB / 0.5917 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001452/0.2607, allocations: 19.98 kB / 0.5917 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.2608, allocations: 0 / 0.5917 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.119e-05/0.2608, allocations: 12.12 kB / 0.5917 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001727/0.261, allocations: 4 kB / 0.5917 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009914/0.262, allocations: 0.5099 MB / 0.5922 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.2624, allocations: 0.677 MB / 0.5929 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.002e-05/0.2624, allocations: 12.05 kB / 0.5929 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.642e-05/0.2625, allocations: 11.44 kB / 0.5929 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of SimCode: time 4.81e-07/0.2625, allocations: 0 / 0.5929 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05425/0.3168, allocations: 1.495 MB / 0.5944 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003672/0.3172, allocations: 196.6 kB / 0.5946 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.968/3.285, allocations: 0 / 0.5946 GB, free: 11.13 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: