Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="IDEAS_dev_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_dev_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/Complex 4.0.0+maint.om/package.mo): time 0.01184/0.01184, allocations: 173.6 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7839/0.7839, allocations: 135.2 MB / 151 MB, free: 13.81 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.609/1.609, allocations: 223.2 MB / 406.8 MB, free: 3.234 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 93.08 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003773/0.0003773, allocations: 12 kB / 0.5692 GB, free: 14.04 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4205/0.4208, allocations: 82.31 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1497/0.5706, allocations: 111.5 MB / 0.7584 GB, free: 4.492 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/0.5709, allocations: 71.95 kB / 0.7585 GB, free: 4.422 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.0152/0.5861, allocations: 5.104 MB / 0.7635 GB, free: 15.31 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.064e-06/0.5861, allocations: 0 / 0.7635 GB, free: 15.31 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.737e-05/0.5862, allocations: 4 kB / 0.7635 GB, free: 15.31 MB / 0.5417 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.0005884/0.5868, allocations: 379 kB / 0.7638 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.801e-05/0.5868, allocations: 8.031 kB / 0.7638 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.871e-05/0.5869, allocations: 34.55 kB / 0.7639 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.408e-05/0.587, allocations: 8 kB / 0.7639 GB, free: 14.83 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.5872, allocations: 167 kB / 0.764 GB, free: 14.63 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.5872, allocations: 4 kB / 0.764 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.535e-05/0.5872, allocations: 4 kB / 0.764 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.5874, allocations: 49.69 kB / 0.7641 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.5874, allocations: 0 / 0.7641 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.5874, allocations: 0 / 0.7641 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.5874, allocations: 4 kB / 0.7641 GB, free: 14.56 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.312e-05/0.5875, allocations: 19.92 kB / 0.7641 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000247/0.5878, allocations: 177.5 kB / 0.7643 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001111/0.5879, allocations: 54.56 kB / 0.7643 GB, free: 14.26 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007017/0.5886, allocations: 457.5 kB / 0.7648 GB, free: 13.72 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.5886, allocations: 38.56 kB / 0.7648 GB, free: 13.67 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.5886, allocations: 4 kB / 0.7648 GB, free: 13.67 MB / 0.5417 GB Notification: Performance of matching and sorting (n=11): time 0.001452/0.5901, allocations: 0.5878 MB / 0.7654 GB, free: 12.99 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.5901, allocations: 59.34 kB / 0.7654 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.941e-05/0.5902, allocations: 92.98 kB / 0.7655 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/0.5903, allocations: 33.7 kB / 0.7656 GB, free: 12.78 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.82e-05/0.5903, allocations: 80.14 kB / 0.7656 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.827e-05/0.5903, allocations: 31.56 kB / 0.7657 GB, free: 12.67 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.061e-06/0.5904, allocations: 7.938 kB / 0.7657 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.5905, allocations: 322.8 kB / 0.766 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.997e-05/0.5906, allocations: 23.98 kB / 0.766 GB, free: 12.31 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.37e-05/0.5906, allocations: 16 kB / 0.766 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.99e-05/0.5906, allocations: 24 kB / 0.766 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.5907, allocations: 0 / 0.766 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001526/0.5908, allocations: 102.2 kB / 0.7661 GB, free: 12.17 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.5908, allocations: 8 kB / 0.7661 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.5909, allocations: 0 / 0.7661 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.5909, allocations: 0 / 0.7661 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.591, allocations: 23.92 kB / 0.7662 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.591, allocations: 4 kB / 0.7662 GB, free: 12.13 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.272e-05/0.591, allocations: 4 kB / 0.7662 GB, free: 12.13 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.5911, allocations: 4 kB / 0.7662 GB, free: 12.12 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.608e-05/0.5912, allocations: 113.8 kB / 0.7663 GB, free: 12 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.706e-05/0.5912, allocations: 11.91 kB / 0.7663 GB, free: 11.99 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000198/0.5914, allocations: 109.5 kB / 0.7664 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.5914, allocations: 4 kB / 0.7664 GB, free: 11.87 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.5914, allocations: 0 / 0.7664 GB, free: 11.87 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.5914, allocations: 0 / 0.7664 GB, free: 11.87 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004226/0.5919, allocations: 350.5 kB / 0.7667 GB, free: 11.47 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.5919, allocations: 4 kB / 0.7667 GB, free: 11.47 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.592, allocations: 27.92 kB / 0.7668 GB, free: 11.44 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.592, allocations: 0 / 0.7668 GB, free: 11.44 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.592, allocations: 8 kB / 0.7668 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.592, allocations: 4 kB / 0.7668 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.592, allocations: 0 / 0.7668 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002623/0.5923, allocations: 215.3 kB / 0.767 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.126e-05/0.5924, allocations: 85.12 kB / 0.7671 GB, free: 11.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.5924, allocations: 4 kB / 0.7671 GB, free: 11.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.363e-05/0.5925, allocations: 7.984 kB / 0.7671 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.878e-05/0.5925, allocations: 8.062 kB / 0.7671 GB, free: 11.08 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.5925, allocations: 0 / 0.7671 GB, free: 11.08 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.24e-05/0.5926, allocations: 91.2 kB / 0.7672 GB, free: 10.99 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5926, allocations: 0 / 0.7672 GB, free: 10.99 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003109/0.5929, allocations: 59.88 kB / 0.7672 GB, free: 10.93 MB / 0.5417 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 (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.0006878/0.5936, allocations: 0.8054 MB / 0.768 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001588/0.5938, allocations: 64.47 kB / 0.7681 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.5938, allocations: 0 / 0.7681 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 5.019e-05/0.5938, allocations: 35.86 kB / 0.7681 GB, free: 10.01 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/0.594, allocations: 6.578 kB / 0.7681 GB, free: 10 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007603/0.5947, allocations: 0.5236 MB / 0.7686 GB, free: 9.43 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002518/0.595, allocations: 0.6887 MB / 0.7693 GB, free: 8.715 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.334e-05/0.5951, allocations: 8 kB / 0.7693 GB, free: 8.707 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.766e-05/0.5951, allocations: 19.42 kB / 0.7693 GB, free: 8.688 MB / 0.5417 GB Notification: Performance of SimCode: time 2.31e-07/0.5951, allocations: 0 / 0.7693 GB, free: 8.688 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01398/0.6091, allocations: 2.165 MB / 0.7714 GB, free: 6.695 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001949/0.6093, allocations: 203.3 kB / 0.7716 GB, free: 6.457 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.51/2.12, allocations: 0 / 0.7716 GB, free: 6.457 MB / 0.5417 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)