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.001642/0.001642, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001748/0.001748, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.303/2.303, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.146/1.146, allocations: 132.3 MB / 423.2 MB, free: 2.148 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005781/0.0005782, allocations: 8 kB / 0.5033 GB, free: 4.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7332/0.7338, allocations: 81.57 MB / 0.583 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001016/0.7349, allocations: 345.5 kB / 0.5833 GB, free: 3.781 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009487/0.7359, allocations: 330.6 kB / 0.5836 GB, free: 3.566 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.185e-05/0.7359, allocations: 0 / 0.5836 GB, free: 3.566 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.309e-05/0.736, allocations: 0.9062 kB / 0.5836 GB, free: 3.566 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.956e-05/0.736, allocations: 2.344 kB / 0.5836 GB, free: 3.566 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006409/0.7367, allocations: 79.48 kB / 0.5837 GB, free: 3.531 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.134e-05/0.7367, allocations: 12.33 kB / 0.5837 GB, free: 3.527 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.643e-05/0.7368, allocations: 2.672 kB / 0.5837 GB, free: 3.527 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.7e-05/0.7369, allocations: 14.12 kB / 0.5837 GB, free: 3.52 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.016e-05/0.737, allocations: 17.5 kB / 0.5837 GB, free: 3.512 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.737, allocations: 1.469 kB / 0.5837 GB, free: 3.512 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006981/0.7377, allocations: 256.4 kB / 0.584 GB, free: 3.453 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.77e-05/0.7377, allocations: 3.516 kB / 0.584 GB, free: 3.453 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.133e-05/0.7378, allocations: 32.39 kB / 0.584 GB, free: 3.418 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002054/0.738, allocations: 65.02 kB / 0.5841 GB, free: 3.398 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.738, allocations: 8.719 kB / 0.5841 GB, free: 3.391 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.738, allocations: 0 / 0.5841 GB, free: 3.391 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.283e-06/0.7381, allocations: 0 / 0.5841 GB, free: 3.391 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.0004788/0.7385, allocations: 351.6 kB / 0.5844 GB, free: 3.023 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.551e-05/0.7386, allocations: 12.91 kB / 0.5844 GB, free: 3.02 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.507e-05/0.7387, allocations: 33.53 kB / 0.5845 GB, free: 2.98 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.252e-05/0.7388, allocations: 3.703 kB / 0.5845 GB, free: 2.98 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.7389, allocations: 164.4 kB / 0.5846 GB, free: 2.781 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.739, allocations: 9.375 kB / 0.5846 GB, free: 2.773 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.394e-05/0.739, allocations: 7.578 kB / 0.5846 GB, free: 2.77 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.7392, allocations: 54.73 kB / 0.5847 GB, free: 2.727 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.7392, allocations: 0 / 0.5847 GB, free: 2.727 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.7393, allocations: 1.219 kB / 0.5847 GB, free: 2.727 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.7393, allocations: 5.219 kB / 0.5847 GB, free: 2.723 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.383e-05/0.7394, allocations: 18.02 kB / 0.5847 GB, free: 2.719 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002251/0.7396, allocations: 171.2 kB / 0.5849 GB, free: 2.516 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001802/0.7398, allocations: 60.16 kB / 0.5849 GB, free: 2.477 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001011/0.7409, allocations: 457.9 kB / 0.5854 GB, free: 2.008 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.7409, allocations: 35.22 kB / 0.5854 GB, free: 1.965 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 2.384e-06/0.7409, allocations: 0.9688 kB / 0.5854 GB, free: 1.965 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.002064/0.743, allocations: 0.5832 MB / 0.586 GB, free: 1.453 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/0.743, allocations: 52.83 kB / 0.586 GB, free: 1.391 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.965e-05/0.7431, allocations: 103.2 kB / 0.5861 GB, free: 1.285 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.7432, allocations: 30.64 kB / 0.5862 GB, free: 1.25 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.603e-05/0.7432, allocations: 82.27 kB / 0.5862 GB, free: 1.168 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.643e-05/0.7433, allocations: 43.22 kB / 0.5863 GB, free: 1.133 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.917e-06/0.7433, allocations: 5.062 kB / 0.5863 GB, free: 1.129 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.107e-05/0.7434, allocations: 317.3 kB / 0.5866 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.292e-05/0.7435, allocations: 25.56 kB / 0.5866 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.546e-05/0.7436, allocations: 19.11 kB / 0.5866 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.01e-05/0.7437, allocations: 32.89 kB / 0.5867 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.7437, allocations: 1.188 kB / 0.5867 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002859/0.744, allocations: 91.52 kB / 0.5868 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.744, allocations: 4.781 kB / 0.5868 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.744, allocations: 5.562 kB / 0.5868 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.7441, allocations: 0.875 kB / 0.5868 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001928/0.7443, allocations: 20.2 kB / 0.5868 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.7443, allocations: 5.469 kB / 0.5868 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.615e-05/0.7443, allocations: 8.844 kB / 0.5868 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.7444, allocations: 3.453 kB / 0.5868 GB, free: 0.7148 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 8.197e-05/0.7445, allocations: 121 kB / 0.5869 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.553e-05/0.7445, allocations: 7.125 kB / 0.5869 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003126/0.7449, allocations: 109 kB / 0.587 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.7449, allocations: 1.906 kB / 0.587 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.7449, allocations: 0 / 0.587 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.7449, allocations: 2.406 kB / 0.587 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00051/0.7454, allocations: 351.3 kB / 0.5874 GB, free: 192 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.7455, allocations: 4 kB / 0.5874 GB, free: 188 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002059/0.7457, allocations: 20.73 kB / 0.5874 GB, free: 188 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.7457, allocations: 1.297 kB / 0.5874 GB, free: 188 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/0.7457, allocations: 5.812 kB / 0.5874 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.7457, allocations: 0 / 0.5874 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.7458, allocations: 1.703 kB / 0.5874 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003889/0.7462, allocations: 222 kB / 0.5876 GB, free: 8 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/0.7463, allocations: 85.17 kB / 0.5877 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.668e-05/0.7463, allocations: 0.8438 kB / 0.5877 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/0.7465, allocations: 15.03 kB / 0.5877 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.732e-05/0.7465, allocations: 6.328 kB / 0.5877 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/0.7466, allocations: 3.406 kB / 0.5877 GB, free: 15.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.081e-05/0.7467, allocations: 82.72 kB / 0.5878 GB, free: 15.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.7467, allocations: 0 / 0.5878 GB, free: 15.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005733/0.7473, allocations: 46.5 kB / 0.5878 GB, free: 15.81 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.001115/0.7484, allocations: 0.7898 MB / 0.5886 GB, free: 15.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002459/0.7487, allocations: 64.86 kB / 0.5887 GB, free: 15.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.7487, allocations: 0 / 0.5887 GB, free: 15.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.7488, allocations: 32.03 kB / 0.5887 GB, free: 15.08 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002429/0.7491, allocations: 6.125 kB / 0.5887 GB, free: 15.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.7504, allocations: 0.5138 MB / 0.5892 GB, free: 14.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004118/0.7509, allocations: 0.6889 MB / 0.5899 GB, free: 13.97 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001006/0.751, allocations: 16.25 kB / 0.5899 GB, free: 13.96 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.116e-05/0.7511, allocations: 17.91 kB / 0.5899 GB, free: 13.95 MB / 446.1 MB Notification: Performance of SimCode: time 4.71e-07/0.7511, allocations: 0 / 0.5899 GB, free: 13.95 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02189/0.773, allocations: 2.205 MB / 0.5921 GB, free: 13.78 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003343/0.7734, allocations: 195.2 kB / 0.5923 GB, free: 13.55 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.625/3.399, allocations: 0.7812 kB / 0.5923 GB, free: 13.55 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: