Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",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.005749/0.005749, allocations: 102 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.0012/0.0012, allocations: 193.9 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.476/1.476, 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/package.mo): time 0.7926/0.7926, allocations: 132.2 MB / 422.7 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 64.19 kB / 0.5809 GB, free: 24.17 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1578, allocations: 80.2 MB / 0.6592 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001848/0.1597, allocations: 0.6209 MB / 0.6598 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006842/0.1604, allocations: 349.6 kB / 0.6602 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.308e-05/0.1605, allocations: 0 / 0.6602 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.805e-05/0.1605, allocations: 3.938 kB / 0.6602 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.988e-05/0.1606, allocations: 0 / 0.6602 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005052/0.1611, allocations: 119.6 kB / 0.6603 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.273e-05/0.1611, allocations: 23.92 kB / 0.6603 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.438e-05/0.1612, allocations: 3.984 kB / 0.6603 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.431e-05/0.1612, allocations: 11.94 kB / 0.6603 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.248e-05/0.1613, allocations: 19.91 kB / 0.6603 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.1613, allocations: 4 kB / 0.6603 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003936/0.1617, allocations: 275.7 kB / 0.6606 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.737e-05/0.1618, allocations: 3.984 kB / 0.6606 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.076e-05/0.1618, allocations: 15.94 kB / 0.6606 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002125/0.162, allocations: 99.77 kB / 0.6607 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.162, allocations: 0 / 0.6607 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.994e-06/0.162, allocations: 0 / 0.6607 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.162, allocations: 0 / 0.6607 GB, free: 9.203 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005158/0.1626, allocations: 366.3 kB / 0.6611 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.1626, allocations: 8.031 kB / 0.6611 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.453e-05/0.1627, allocations: 30.75 kB / 0.6611 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.758e-05/0.1627, allocations: 4.938 kB / 0.6611 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.1629, allocations: 168.3 kB / 0.6613 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.1629, allocations: 16.31 kB / 0.6613 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.469e-05/0.1629, allocations: 4.375 kB / 0.6613 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.1631, allocations: 46.25 kB / 0.6613 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.1631, allocations: 7.922 kB / 0.6613 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.1631, allocations: 4 kB / 0.6614 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1631, allocations: 0 / 0.6614 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.75e-05/0.1632, allocations: 19.98 kB / 0.6614 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001956/0.1634, allocations: 170.1 kB / 0.6615 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.1635, allocations: 66.48 kB / 0.6616 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.247e-05/0.1636, allocations: 20.86 kB / 0.6616 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006955/0.1643, allocations: 465.5 kB / 0.6621 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.1643, allocations: 30.56 kB / 0.6621 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.1643, allocations: 0 / 0.6621 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001376/0.1657, allocations: 0.592 MB / 0.6627 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.1657, allocations: 59.41 kB / 0.6627 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.058e-05/0.1658, allocations: 93.86 kB / 0.6628 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.1658, allocations: 33.7 kB / 0.6628 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.407e-05/0.1659, allocations: 84.12 kB / 0.6629 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.663e-05/0.1659, allocations: 31.47 kB / 0.663 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.463e-05/0.166, allocations: 29.7 kB / 0.663 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.465e-05/0.1661, allocations: 310.8 kB / 0.6633 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.308e-05/0.1661, allocations: 23.98 kB / 0.6633 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.775e-05/0.1661, allocations: 31.92 kB / 0.6633 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.918e-05/0.1662, allocations: 56.48 kB / 0.6634 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1663, allocations: 0 / 0.6634 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001617/0.1664, allocations: 105.5 kB / 0.6635 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.1664, allocations: 8 kB / 0.6635 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.1665, allocations: 0 / 0.6635 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.1665, allocations: 0 / 0.6635 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.1666, allocations: 19.94 kB / 0.6635 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.1666, allocations: 7.984 kB / 0.6635 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.26e-05/0.1666, allocations: 0 / 0.6635 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.1666, allocations: 8 kB / 0.6635 GB, free: 5.922 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 (13): * Single equations (assignments): 13 * 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.197e-05/0.1667, allocations: 114.7 kB / 0.6636 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.085e-05/0.1668, allocations: 7.938 kB / 0.6636 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001916/0.167, allocations: 109.4 kB / 0.6638 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.167, allocations: 4.188 kB / 0.6638 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.167, allocations: 3.984 kB / 0.6638 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.167, allocations: 3.984 kB / 0.6638 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003655/0.1674, allocations: 364.8 kB / 0.6641 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1674, allocations: 0 / 0.6641 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.1675, allocations: 19.94 kB / 0.6641 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.1675, allocations: 0 / 0.6641 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.1675, allocations: 7.984 kB / 0.6641 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.1675, allocations: 4 kB / 0.6641 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1675, allocations: 0 / 0.6641 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.1678, allocations: 211.5 kB / 0.6643 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.755e-05/0.1678, allocations: 89 kB / 0.6644 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.1679, allocations: 8.062 kB / 0.6644 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.975e-05/0.1679, allocations: 0 / 0.6644 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.108e-05/0.168, allocations: 16.02 kB / 0.6645 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.168, allocations: 7.938 kB / 0.6645 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.143e-05/0.168, allocations: 75.28 kB / 0.6645 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.168, allocations: 0 / 0.6645 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002733/0.1683, allocations: 47.98 kB / 0.6646 GB, free: 4.734 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0006507/0.169, allocations: 0.7904 MB / 0.6654 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000161/0.1691, allocations: 70.27 kB / 0.6654 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1691, allocations: 0 / 0.6654 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.62e-05/0.1692, allocations: 31.98 kB / 0.6654 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.1694, allocations: 8 kB / 0.6655 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/0.1707, allocations: 1.38 MB / 0.6668 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002374/0.171, allocations: 0.6924 MB / 0.6675 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.698e-05/0.1711, allocations: 11.94 kB / 0.6675 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.781e-05/0.1711, allocations: 19.42 kB / 0.6675 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of SimCode: time 8.22e-07/0.1711, allocations: 0 / 0.6675 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02097/0.1921, allocations: 2.48 MB / 0.6699 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.456/7.648, allocations: 8.266 kB / 0.6699 GB, free: 15.27 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)