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.005817/0.005817, allocations: 99.34 kB / 15.73 MB, free: 6.039 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.001296/0.001296, allocations: 196 kB / 16.67 MB, free: 5.961 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8145/0.8145, allocations: 132.2 MB / 422.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00186/0.00186, allocations: 65.45 kB / 0.5809 GB, free: 1.102 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1485, allocations: 80.2 MB / 0.6592 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001568/0.1502, allocations: 0.5987 MB / 0.6598 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006674/0.1508, allocations: 345.4 kB / 0.6601 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.271e-05/0.1509, allocations: 3.938 kB / 0.6602 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.41e-05/0.1509, allocations: 0 / 0.6602 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 1.618e-05/0.1509, allocations: 0 / 0.6602 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004267/0.1513, allocations: 107.7 kB / 0.6603 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.8e-05/0.1514, allocations: 15.92 kB / 0.6603 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.602e-05/0.1514, allocations: 4 kB / 0.6603 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.413e-05/0.1515, allocations: 0 / 0.6603 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.718e-05/0.1515, allocations: 7.984 kB / 0.6603 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.157e-05/0.1515, allocations: 0 / 0.6603 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003939/0.1519, allocations: 275.6 kB / 0.6605 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.427e-05/0.152, allocations: 7.922 kB / 0.6606 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.724e-05/0.152, allocations: 4 kB / 0.6606 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001795/0.1522, allocations: 103.9 kB / 0.6607 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.1522, allocations: 0 / 0.6607 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.203e-06/0.1522, allocations: 0 / 0.6607 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.1522, allocations: 0 / 0.6607 GB, free: 12.52 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.0003705/0.1526, allocations: 339.3 kB / 0.661 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.1526, allocations: 8.031 kB / 0.661 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.573e-05/0.1526, allocations: 30.75 kB / 0.661 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.666e-05/0.1527, allocations: 8.891 kB / 0.661 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.1528, allocations: 160.4 kB / 0.6612 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.1528, allocations: 4.375 kB / 0.6612 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.751e-05/0.1529, allocations: 4.359 kB / 0.6612 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.633e-05/0.1529, allocations: 38.2 kB / 0.6612 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.153, allocations: 3.938 kB / 0.6612 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.153, allocations: 4 kB / 0.6612 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.153, allocations: 0 / 0.6612 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.957e-05/0.153, allocations: 3.984 kB / 0.6612 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001581/0.1532, allocations: 153.7 kB / 0.6614 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.154e-05/0.1532, allocations: 22.61 kB / 0.6614 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.58e-05/0.1533, allocations: 12.91 kB / 0.6614 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007173/0.154, allocations: 449.5 kB / 0.6618 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/0.154, allocations: 46.5 kB / 0.6619 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.154, allocations: 0 / 0.6619 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0004909/0.1545, allocations: 258.2 kB / 0.6621 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.1546, allocations: 51.41 kB / 0.6622 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.831e-05/0.1547, allocations: 102.1 kB / 0.6623 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/0.1547, allocations: 29.83 kB / 0.6623 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.89e-05/0.1547, allocations: 80.14 kB / 0.6624 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.921e-05/0.1548, allocations: 7.953 kB / 0.6624 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.211e-05/0.1548, allocations: 13.72 kB / 0.6624 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.1549, allocations: 314.8 kB / 0.6627 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.519e-05/0.155, allocations: 11.98 kB / 0.6627 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.937e-05/0.155, allocations: 17.66 kB / 0.6627 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.976e-05/0.1551, allocations: 29.66 kB / 0.6628 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1551, allocations: 4 kB / 0.6628 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001114/0.1552, allocations: 53.69 kB / 0.6628 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.1552, allocations: 14.12 kB / 0.6628 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.1552, allocations: 0 / 0.6628 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.1552, allocations: 0 / 0.6628 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.497e-05/0.1553, allocations: 11.88 kB / 0.6628 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.1553, allocations: 7.984 kB / 0.6628 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.764e-05/0.1553, allocations: 4.062 kB / 0.6629 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.1553, allocations: 0 / 0.6629 GB, free: 9.887 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 7.726e-05/0.1554, allocations: 110.5 kB / 0.663 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.617e-05/0.1554, allocations: 7.891 kB / 0.663 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001311/0.1556, allocations: 53.19 kB / 0.663 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.1556, allocations: 0 / 0.663 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.1556, allocations: 0 / 0.663 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.1556, allocations: 8 kB / 0.663 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.1557, allocations: 153.7 kB / 0.6632 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1557, allocations: 0 / 0.6632 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.287e-05/0.1558, allocations: 11.92 kB / 0.6632 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.1558, allocations: 3.938 kB / 0.6632 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.022e-06/0.1558, allocations: 0 / 0.6632 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1558, allocations: 0 / 0.6632 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1558, allocations: 0 / 0.6632 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001456/0.156, allocations: 81.12 kB / 0.6633 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.358e-05/0.156, allocations: 81.05 kB / 0.6633 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.156, allocations: 3.984 kB / 0.6633 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.672e-05/0.1561, allocations: 0 / 0.6633 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.354e-05/0.1561, allocations: 4.266 kB / 0.6633 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.1561, allocations: 0 / 0.6633 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.566e-05/0.1562, allocations: 79.28 kB / 0.6634 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1562, allocations: 0 / 0.6634 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002088/0.1564, allocations: 19.94 kB / 0.6634 GB, free: 9.172 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.0005473/0.1569, allocations: 0.6554 MB / 0.6641 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.361e-05/0.157, allocations: 15.94 kB / 0.6641 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.157, allocations: 0 / 0.6641 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.431e-05/0.1571, allocations: 19.92 kB / 0.6641 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001318/0.1572, allocations: 2.422 kB / 0.6641 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009695/0.1582, allocations: 1.135 MB / 0.6652 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/0.1585, allocations: 0.6807 MB / 0.6659 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.324e-05/0.1585, allocations: 0 / 0.6659 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.548e-05/0.1585, allocations: 11.44 kB / 0.6659 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1585, allocations: 0 / 0.6659 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02307/0.1816, allocations: 1.721 MB / 0.6676 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.13/8.311, allocations: 4.719 kB / 0.6676 GB, free: 4.93 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)