Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.RegNonZeroPowerDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="IDEAS_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.001105/0.001105, 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.001085/0.001085, allocations: 194.3 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.317/1.317, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7625/0.7625, allocations: 132.2 MB / 422.6 MB, free: 1.824 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 60.31 kB / 0.5019 GB, free: 3.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4531/0.4545, allocations: 80.2 MB / 0.5802 GB, free: 4.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001875/0.4564, allocations: 0.5918 MB / 0.5808 GB, free: 4.215 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006029/0.457, allocations: 338.3 kB / 0.5811 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.119e-05/0.4571, allocations: 0 / 0.5811 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.182e-05/0.4571, allocations: 0 / 0.5811 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 2.191e-05/0.4571, allocations: 1.25 kB / 0.5811 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005607/0.4577, allocations: 115.1 kB / 0.5812 GB, free: 3.949 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.818e-05/0.4578, allocations: 15.03 kB / 0.5812 GB, free: 3.941 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.109e-05/0.4578, allocations: 1.359 kB / 0.5812 GB, free: 3.941 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.749e-05/0.4578, allocations: 3.234 kB / 0.5812 GB, free: 3.941 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.527e-05/0.4579, allocations: 11.91 kB / 0.5812 GB, free: 3.934 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.4579, allocations: 1.188 kB / 0.5812 GB, free: 3.934 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004445/0.4583, allocations: 267.3 kB / 0.5815 GB, free: 3.871 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.333e-05/0.4584, allocations: 5.484 kB / 0.5815 GB, free: 3.867 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.078e-05/0.4584, allocations: 10.61 kB / 0.5815 GB, free: 3.859 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002108/0.4586, allocations: 93.23 kB / 0.5816 GB, free: 3.828 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.4586, allocations: 1.094 kB / 0.5816 GB, free: 3.828 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.4586, allocations: 0 / 0.5816 GB, free: 3.828 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.4586, allocations: 0 / 0.5816 GB, free: 3.828 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002919/0.4589, allocations: 340.3 kB / 0.5819 GB, free: 3.461 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.459, allocations: 13.59 kB / 0.5819 GB, free: 3.457 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.387e-05/0.459, allocations: 35.41 kB / 0.582 GB, free: 3.414 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.106e-05/0.4591, allocations: 2.281 kB / 0.582 GB, free: 3.414 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.298e-05/0.4591, allocations: 170.2 kB / 0.5821 GB, free: 3.215 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.4592, allocations: 384 / 0.5821 GB, free: 3.215 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.4592, allocations: 6.016 kB / 0.5821 GB, free: 3.211 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.966e-05/0.4593, allocations: 40.92 kB / 0.5822 GB, free: 3.172 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.4593, allocations: 3.938 kB / 0.5822 GB, free: 3.168 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.4593, allocations: 0.9062 kB / 0.5822 GB, free: 3.168 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.4593, allocations: 1.156 kB / 0.5822 GB, free: 3.168 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.298e-05/0.4594, allocations: 2.297 kB / 0.5822 GB, free: 3.168 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001143/0.4595, allocations: 156.9 kB / 0.5823 GB, free: 2.973 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.517e-05/0.4595, allocations: 19.55 kB / 0.5824 GB, free: 2.949 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.873e-05/0.4596, allocations: 8.344 kB / 0.5824 GB, free: 2.941 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006394/0.4602, allocations: 464.1 kB / 0.5828 GB, free: 2.461 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.4602, allocations: 33.52 kB / 0.5828 GB, free: 2.422 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.4602, allocations: 3.938 kB / 0.5828 GB, free: 2.418 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.000445/0.4607, allocations: 251.2 kB / 0.5831 GB, free: 2.156 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.693e-05/0.4607, allocations: 52.2 kB / 0.5831 GB, free: 2.094 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.899e-05/0.4608, allocations: 103.1 kB / 0.5832 GB, free: 1.988 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.166e-06/0.4608, allocations: 25.7 kB / 0.5833 GB, free: 1.957 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.464e-05/0.4608, allocations: 81.2 kB / 0.5833 GB, free: 1.875 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.209e-05/0.4608, allocations: 14.33 kB / 0.5834 GB, free: 1.863 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-05/0.4609, allocations: 13.61 kB / 0.5834 GB, free: 1.848 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.624e-05/0.4609, allocations: 317.2 kB / 0.5837 GB, free: 1.531 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.822e-05/0.4609, allocations: 5.469 kB / 0.5837 GB, free: 1.531 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.48e-05/0.461, allocations: 19.98 kB / 0.5837 GB, free: 1.512 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.327e-05/0.461, allocations: 27.62 kB / 0.5837 GB, free: 1.488 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.461, allocations: 0 / 0.5837 GB, free: 1.488 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.624e-05/0.4611, allocations: 52.53 kB / 0.5838 GB, free: 1.449 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.4611, allocations: 11.84 kB / 0.5838 GB, free: 1.445 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.4611, allocations: 0.6562 kB / 0.5838 GB, free: 1.445 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.4612, allocations: 1.469 kB / 0.5838 GB, free: 1.445 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.704e-05/0.4612, allocations: 11.94 kB / 0.5838 GB, free: 1.441 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.4612, allocations: 7.875 kB / 0.5838 GB, free: 1.434 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.888e-05/0.4613, allocations: 1.188 kB / 0.5838 GB, free: 1.434 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.4613, allocations: 1.672 kB / 0.5838 GB, free: 1.434 MB / 430.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.383e-05/0.4613, allocations: 110.1 kB / 0.5839 GB, free: 1.32 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.739e-05/0.4613, allocations: 10.11 kB / 0.5839 GB, free: 1.312 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001205/0.4615, allocations: 58.84 kB / 0.584 GB, free: 1.262 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.4615, allocations: 4.562 kB / 0.584 GB, free: 1.258 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.4615, allocations: 1.5 kB / 0.584 GB, free: 1.258 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.4615, allocations: 0.6094 kB / 0.584 GB, free: 1.258 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.401e-05/0.4616, allocations: 152.6 kB / 0.5841 GB, free: 1.066 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4616, allocations: 0 / 0.5841 GB, free: 1.066 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.311e-05/0.4616, allocations: 6.484 kB / 0.5841 GB, free: 1.066 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.4616, allocations: 8.469 kB / 0.5841 GB, free: 1.059 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.4617, allocations: 5.438 kB / 0.5841 GB, free: 1.055 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.4617, allocations: 0.6562 kB / 0.5841 GB, free: 1.055 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.4617, allocations: 0 / 0.5841 GB, free: 1.055 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001262/0.4618, allocations: 84.78 kB / 0.5842 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.607e-05/0.4618, allocations: 81.7 kB / 0.5843 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.4619, allocations: 2 kB / 0.5843 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.937e-05/0.4619, allocations: 2.109 kB / 0.5843 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.201e-05/0.4619, allocations: 2.141 kB / 0.5843 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.4619, allocations: 1.25 kB / 0.5843 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.797e-05/0.4619, allocations: 81.23 kB / 0.5844 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.462, allocations: 4.094 kB / 0.5844 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002299/0.4622, allocations: 28.45 kB / 0.5844 GB, free: 0.7891 MB / 430.1 MB 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 (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.0003773/0.4626, allocations: 0.6405 MB / 0.585 GB, free: 184 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 9.474e-05/0.4627, allocations: 18.17 kB / 0.5851 GB, free: 180 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.4627, allocations: 4.188 kB / 0.5851 GB, free: 176 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.889e-05/0.4627, allocations: 11.28 kB / 0.5851 GB, free: 172 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/0.4629, allocations: 3.188 kB / 0.5851 GB, free: 172 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009192/0.4638, allocations: 1.133 MB / 0.5862 GB, free: 15.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002233/0.464, allocations: 0.6762 MB / 0.5868 GB, free: 14.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.15e-05/0.4641, allocations: 11.94 kB / 0.5869 GB, free: 14.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.874e-05/0.4641, allocations: 8.812 kB / 0.5869 GB, free: 14.33 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4641, allocations: 1.031 kB / 0.5869 GB, free: 14.33 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02103/0.4851, allocations: 1.69 MB / 0.5885 GB, free: 13.99 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.514/7.999, allocations: 6.453 kB / 0.5885 GB, free: 13.99 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)