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.008878/0.008878, allocations: 102.3 kB / 15.73 MB, free: 5.582 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.001725/0.001725, allocations: 191.2 kB / 16.67 MB, free: 5.52 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8073/0.8073, allocations: 132.2 MB / 422.7 MB, free: 6.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001216, allocations: 64.94 kB / 0.5809 GB, free: 24.03 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1644, allocations: 80.21 MB / 0.6592 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.002181/0.1666, allocations: 0.5956 MB / 0.6598 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008354/0.1674, allocations: 345.5 kB / 0.6601 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.889e-05/0.1675, allocations: 0 / 0.6601 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.581e-05/0.1675, allocations: 0 / 0.6601 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.169e-05/0.1676, allocations: 0 / 0.6601 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005681/0.1681, allocations: 111.7 kB / 0.6602 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.523e-05/0.1682, allocations: 19.91 kB / 0.6603 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.946e-05/0.1683, allocations: 0 / 0.6603 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.33e-05/0.1683, allocations: 8 kB / 0.6603 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.61e-05/0.1684, allocations: 0 / 0.6603 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.1684, allocations: 0 / 0.6603 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004668/0.1688, allocations: 283.6 kB / 0.6605 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.457e-05/0.1689, allocations: 0 / 0.6605 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.895e-05/0.1689, allocations: 7.984 kB / 0.6605 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002433/0.1692, allocations: 87.8 kB / 0.6606 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.1692, allocations: 4 kB / 0.6606 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.805e-06/0.1692, allocations: 3.984 kB / 0.6606 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.752e-06/0.1692, allocations: 0 / 0.6606 GB, free: 9.312 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004912/0.1697, allocations: 339.6 kB / 0.661 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.441e-05/0.1698, allocations: 8.031 kB / 0.661 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.861e-05/0.1698, allocations: 30.75 kB / 0.661 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.321e-05/0.1699, allocations: 4.938 kB / 0.661 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.17, allocations: 163.2 kB / 0.6612 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.1701, allocations: 384 / 0.6612 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.732e-05/0.1701, allocations: 16.28 kB / 0.6612 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.1702, allocations: 38.19 kB / 0.6612 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.1702, allocations: 3.938 kB / 0.6612 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.1703, allocations: 0 / 0.6612 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.1703, allocations: 0 / 0.6612 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.733e-05/0.1703, allocations: 4 kB / 0.6612 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002184/0.1705, allocations: 153.7 kB / 0.6614 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.567e-05/0.1706, allocations: 26.61 kB / 0.6614 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.309e-05/0.1706, allocations: 8.859 kB / 0.6614 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008247/0.1715, allocations: 457.5 kB / 0.6618 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.1715, allocations: 34.56 kB / 0.6619 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1715, allocations: 3.938 kB / 0.6619 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0006915/0.1722, allocations: 250.3 kB / 0.6621 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.1723, allocations: 51.41 kB / 0.6622 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.384e-05/0.1724, allocations: 98.11 kB / 0.6623 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.1724, allocations: 29.73 kB / 0.6623 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.212e-05/0.1725, allocations: 84.12 kB / 0.6624 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.913e-05/0.1725, allocations: 19.8 kB / 0.6624 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.946e-05/0.1726, allocations: 13.72 kB / 0.6624 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.1727, allocations: 318.8 kB / 0.6627 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.394e-05/0.1727, allocations: 7.984 kB / 0.6627 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.844e-05/0.1728, allocations: 21.72 kB / 0.6627 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.59e-05/0.1728, allocations: 29.66 kB / 0.6628 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1728, allocations: 0 / 0.6628 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001438/0.173, allocations: 49.69 kB / 0.6628 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.173, allocations: 11.94 kB / 0.6628 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.173, allocations: 0 / 0.6628 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.1731, allocations: 0 / 0.6628 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.282e-05/0.1731, allocations: 8 kB / 0.6628 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.1731, allocations: 3.938 kB / 0.6628 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.013e-05/0.1732, allocations: 4.062 kB / 0.6628 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.1732, allocations: 4 kB / 0.6628 GB, free: 6.684 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.926e-05/0.1733, allocations: 115.3 kB / 0.6629 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.981e-05/0.1733, allocations: 3.938 kB / 0.6629 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001512/0.1735, allocations: 49.19 kB / 0.663 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.1735, allocations: 4 kB / 0.663 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1735, allocations: 0 / 0.663 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.1735, allocations: 4 kB / 0.663 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001198/0.1736, allocations: 153.7 kB / 0.6631 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1736, allocations: 0 / 0.6631 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.674e-05/0.1737, allocations: 7.984 kB / 0.6632 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.1737, allocations: 7.875 kB / 0.6632 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.1737, allocations: 0 / 0.6632 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.1737, allocations: 0 / 0.6632 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1737, allocations: 4 kB / 0.6632 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001538/0.1739, allocations: 81.03 kB / 0.6632 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.502e-05/0.1739, allocations: 81.05 kB / 0.6633 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.174, allocations: 0 / 0.6633 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.728e-05/0.174, allocations: 4.031 kB / 0.6633 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.528e-05/0.174, allocations: 3.984 kB / 0.6633 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.174, allocations: 0 / 0.6633 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.608e-05/0.1741, allocations: 83.28 kB / 0.6634 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1741, allocations: 0 / 0.6634 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002243/0.1743, allocations: 20 kB / 0.6634 GB, free: 5.965 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 (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.0005312/0.1749, allocations: 0.6556 MB / 0.6641 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.748e-05/0.175, allocations: 16 kB / 0.6641 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.175, allocations: 0 / 0.6641 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.83e-05/0.175, allocations: 11.94 kB / 0.6641 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001505/0.1752, allocations: 6.172 kB / 0.6641 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.1763, allocations: 1.146 MB / 0.6652 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.1766, allocations: 0.6768 MB / 0.6659 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.624e-05/0.1767, allocations: 3.984 kB / 0.6659 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.978e-05/0.1767, allocations: 15.44 kB / 0.6659 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1767, allocations: 0 / 0.6659 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02314/0.1999, allocations: 1.708 MB / 0.6676 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.287/7.487, allocations: 10.28 kB / 0.6676 GB, free: 1.715 MB / 0.4981 GB (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)