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.000792/0.000792, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.0008872/0.0008872, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 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: 223.3 MB / 240 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7409/0.7409, allocations: 132.3 MB / 423.4 MB, free: 2.039 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00032/0.0003202, allocations: 12 kB / 0.5035 GB, free: 4.102 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3819/0.3822, allocations: 81.58 MB / 0.5832 GB, free: 4 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.0006785/0.3829, allocations: 341.8 kB / 0.5835 GB, free: 3.77 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005751/0.3835, allocations: 323 kB / 0.5838 GB, free: 3.559 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.246e-05/0.3836, allocations: 5 kB / 0.5838 GB, free: 3.555 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.213e-05/0.3836, allocations: 0 / 0.5838 GB, free: 3.555 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 2.581e-05/0.3836, allocations: 0 / 0.5838 GB, free: 3.555 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003441/0.384, allocations: 86.81 kB / 0.5839 GB, free: 3.516 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.134e-05/0.384, allocations: 16.92 kB / 0.5839 GB, free: 3.512 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.12e-05/0.3841, allocations: 2.594 kB / 0.5839 GB, free: 3.512 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.497e-05/0.3841, allocations: 10.11 kB / 0.5839 GB, free: 3.508 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.414e-05/0.3842, allocations: 11.27 kB / 0.5839 GB, free: 3.504 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.3842, allocations: 6.125 kB / 0.5839 GB, free: 3.5 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004307/0.3846, allocations: 266.7 kB / 0.5842 GB, free: 3.438 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.428e-05/0.3847, allocations: 14.12 kB / 0.5842 GB, free: 3.426 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.696e-05/0.3847, allocations: 28.95 kB / 0.5842 GB, free: 3.395 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001263/0.3848, allocations: 58.06 kB / 0.5843 GB, free: 3.383 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.3848, allocations: 0 / 0.5843 GB, free: 3.383 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3848, allocations: 0.6562 kB / 0.5843 GB, free: 3.383 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.477e-06/0.3848, allocations: 0 / 0.5843 GB, free: 3.383 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002995/0.3851, allocations: 355.7 kB / 0.5846 GB, free: 3.012 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.3852, allocations: 13 kB / 0.5846 GB, free: 3.008 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.629e-05/0.3852, allocations: 36.69 kB / 0.5847 GB, free: 2.965 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.615e-05/0.3853, allocations: 3.344 kB / 0.5847 GB, free: 2.965 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.825e-05/0.3853, allocations: 165.3 kB / 0.5848 GB, free: 2.766 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.3854, allocations: 6.031 kB / 0.5848 GB, free: 2.762 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.12e-05/0.3854, allocations: 14.5 kB / 0.5849 GB, free: 2.75 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.3855, allocations: 46.66 kB / 0.5849 GB, free: 2.715 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.3855, allocations: 0 / 0.5849 GB, free: 2.715 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.3855, allocations: 1.438 kB / 0.5849 GB, free: 2.715 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.339e-06/0.3855, allocations: 1.281 kB / 0.5849 GB, free: 2.715 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.553e-05/0.3856, allocations: 25.77 kB / 0.5849 GB, free: 2.703 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001688/0.3858, allocations: 175.6 kB / 0.5851 GB, free: 2.496 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.788e-05/0.3859, allocations: 63.45 kB / 0.5852 GB, free: 2.453 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.243e-05/0.3859, allocations: 29 kB / 0.5852 GB, free: 2.438 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005408/0.3865, allocations: 461.1 kB / 0.5856 GB, free: 1.965 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.3865, allocations: 36.84 kB / 0.5857 GB, free: 1.922 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.3865, allocations: 0 / 0.5857 GB, free: 1.922 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.001075/0.3876, allocations: 0.583 MB / 0.5862 GB, free: 1.41 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.86e-05/0.3876, allocations: 52.91 kB / 0.5863 GB, free: 1.348 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.115e-05/0.3877, allocations: 99.72 kB / 0.5864 GB, free: 1.246 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/0.3877, allocations: 26.73 kB / 0.5864 GB, free: 1.215 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.468e-05/0.3877, allocations: 82.12 kB / 0.5865 GB, free: 1.133 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.291e-05/0.3878, allocations: 46.58 kB / 0.5865 GB, free: 1.094 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-06/0.3878, allocations: 1.062 kB / 0.5865 GB, free: 1.094 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.494e-05/0.3878, allocations: 326.4 kB / 0.5868 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.017e-05/0.3879, allocations: 17.75 kB / 0.5868 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.791e-05/0.3879, allocations: 23.66 kB / 0.5869 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.714e-05/0.388, allocations: 25.77 kB / 0.5869 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.388, allocations: 0 / 0.5869 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001449/0.3881, allocations: 102.5 kB / 0.587 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.3881, allocations: 6.109 kB / 0.587 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.3881, allocations: 4 kB / 0.587 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.3882, allocations: 1.094 kB / 0.587 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.3883, allocations: 20.62 kB / 0.587 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.3883, allocations: 1.406 kB / 0.587 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.101e-05/0.3883, allocations: 0.875 kB / 0.587 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.3883, allocations: 2.594 kB / 0.587 GB, free: 0.6836 MB / 430.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.706e-05/0.3884, allocations: 123.2 kB / 0.5871 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.614e-05/0.3884, allocations: 11.78 kB / 0.5872 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000186/0.3886, allocations: 105.3 kB / 0.5873 GB, free: 500 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3886, allocations: 5 kB / 0.5873 GB, free: 496 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.3886, allocations: 0 / 0.5873 GB, free: 496 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.3886, allocations: 1.516 kB / 0.5873 GB, free: 496 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003039/0.389, allocations: 356.8 kB / 0.5876 GB, free: 152 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.389, allocations: 4.125 kB / 0.5876 GB, free: 148 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.3891, allocations: 20.05 kB / 0.5876 GB, free: 148 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3891, allocations: 1.25 kB / 0.5876 GB, free: 148 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.978e-06/0.3891, allocations: 5.984 kB / 0.5876 GB, free: 144 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.3891, allocations: 0.7188 kB / 0.5876 GB, free: 144 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3891, allocations: 4.703 kB / 0.5876 GB, free: 140 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000242/0.3894, allocations: 223.1 kB / 0.5879 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.224e-05/0.3894, allocations: 87.42 kB / 0.5879 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.3894, allocations: 1.938 kB / 0.5879 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.63e-05/0.3895, allocations: 3.297 kB / 0.5879 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.227e-05/0.3896, allocations: 4.906 kB / 0.5879 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.3896, allocations: 7.406 kB / 0.588 GB, free: 15.87 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.18e-05/0.3896, allocations: 86.69 kB / 0.588 GB, free: 15.79 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3896, allocations: 0 / 0.588 GB, free: 15.79 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003004/0.3899, allocations: 47.2 kB / 0.5881 GB, free: 15.77 MB / 446.1 MB 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 (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.0007638/0.3907, allocations: 0.7817 MB / 0.5888 GB, free: 15.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001729/0.3909, allocations: 64.88 kB / 0.5889 GB, free: 15.05 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3909, allocations: 4.062 kB / 0.5889 GB, free: 15.05 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.623e-05/0.391, allocations: 33.53 kB / 0.5889 GB, free: 15.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.3912, allocations: 5.938 kB / 0.5889 GB, free: 15.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008316/0.392, allocations: 0.5159 MB / 0.5895 GB, free: 14.62 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.3923, allocations: 0.6898 MB / 0.5901 GB, free: 13.93 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.295e-05/0.3924, allocations: 7.031 kB / 0.5901 GB, free: 13.93 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.209e-05/0.3924, allocations: 22.83 kB / 0.5902 GB, free: 13.91 MB / 446.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3924, allocations: 0 / 0.5902 GB, free: 13.91 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01294/0.4054, allocations: 2.216 MB / 0.5923 GB, free: 13.75 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001613/0.4056, allocations: 206.3 kB / 0.5925 GB, free: 13.51 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.618/2.024, allocations: 0 / 0.5925 GB, free: 13.51 MB / 446.1 MB (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/linux/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) Environment - environmentSimulation: